home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, Non-ISO extended-ASCII text, with CRLF line terminators
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CRLF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 66 6f 72 6d 61 74 20 | 6c 61 74 65 78 0d 0a 0d |%format |latex...|
|00000010| 0a 5c 64 6f 63 75 6d 65 | 6e 74 73 74 79 6c 65 5b |.\docume|ntstyle[|
|00000020| 64 69 6e 5f 61 34 5d 7b | 61 72 74 69 63 6c 65 7d |din_a4]{|article}|
|00000030| 0d 0a 5c 65 6d 65 72 67 | 65 6e 63 79 73 74 72 65 |..\emerg|encystre|
|00000040| 74 63 68 3d 31 30 30 70 | 74 0d 0a 0d 0a 5c 74 69 |tch=100p|t....\ti|
|00000050| 74 6c 65 7b 44 65 76 70 | 61 63 20 46 61 6c 63 6f |tle{Devp|ac Falco|
|00000060| 6e 20 4c 69 62 72 61 72 | 79 7d 0d 0a 5c 61 75 74 |n Librar|y}..\aut|
|00000070| 68 6f 72 7b 4a 6f 68 61 | 6e 20 4b 61 72 6c 73 73 |hor{Joha|n Karlss|
|00000080| 6f 6e 20 5c 5c 20 65 6d | 61 69 6c 3a 20 64 39 32 |on \\ em|ail: d92|
|00000090| 6a 6b 40 65 66 64 2e 6c | 74 68 2e 73 65 7d 0d 0a |jk@efd.l|th.se}..|
|000000a0| 5c 64 61 74 65 20 7b 56 | 65 72 73 69 6f 6e 20 35 |\date {V|ersion 5|
|000000b0| 20 5c 5c 20 31 30 20 4a | 61 6e 75 61 72 79 20 31 | \\ 10 J|anuary 1|
|000000c0| 39 39 35 7d 0d 0a 0d 0a | 5c 64 65 66 5c 66 69 6c |995}....|\def\fil|
|000000d0| 65 20 23 31 2e 53 20 20 | 7b 5c 73 75 62 73 65 63 |e #1.S |{\subsec|
|000000e0| 74 69 6f 6e 7b 7b 5c 73 | 63 20 23 31 7d 7d 7d 0d |tion{{\s|c #1}}}.|
|000000f0| 0a 5c 64 65 66 5c 72 6f | 75 74 20 40 23 31 20 23 |.\def\ro|ut @#1 #|
|00000100| 32 20 28 23 33 29 20 7b | 7b 5c 62 66 20 40 23 31 |2 (#3) {|{\bf @#1|
|00000110| 7d 5c 5c 20 23 32 20 5c | 5c 20 7b 5c 73 6d 61 6c |}\\ #2 \|\ {\smal|
|00000120| 6c 20 28 23 33 29 5c 5c | 7d 7d 0d 0a 5c 64 65 66 |l (#3)\\|}}..\def|
|00000130| 5c 72 6f 75 74 69 6e 20 | 40 23 31 20 23 32 20 49 |\routin |@#1 #2 I|
|00000140| 6e 20 23 33 20 28 23 34 | 29 20 7b 7b 5c 62 66 20 |n #3 (#4|) {{\bf |
|00000150| 40 23 31 7d 5c 5c 20 23 | 32 20 5c 5c 20 7b 5c 73 |@#1}\\ #|2 \\ {\s|
|00000160| 6c 20 49 6e 20 23 33 7d | 20 5c 5c 20 7b 5c 73 6d |l In #3}| \\ {\sm|
|00000170| 61 6c 6c 20 28 23 34 29 | 5c 5c 7d 7d 0d 0a 5c 64 |all (#4)|\\}}..\d|
|00000180| 65 66 5c 72 6f 75 74 69 | 6e 6f 75 74 20 40 23 31 |ef\routi|nout @#1|
|00000190| 20 23 32 20 49 6e 20 23 | 33 20 4f 75 74 20 23 34 | #2 In #|3 Out #4|
|000001a0| 20 28 23 35 29 20 7b 7b | 5c 62 66 20 40 23 31 7d | (#5) {{|\bf @#1}|
|000001b0| 5c 5c 20 23 32 20 5c 5c | 20 7b 5c 73 6c 20 49 6e |\\ #2 \\| {\sl In|
|000001c0| 20 23 33 7d 0d 0a 5c 5c | 20 7b 5c 73 6c 20 4f 75 | #3}..\\| {\sl Ou|
|000001d0| 74 20 23 34 7d 20 5c 5c | 20 7b 5c 73 6d 61 6c 6c |t #4} \\| {\small|
|000001e0| 20 28 23 35 29 5c 5c 7d | 7d 0d 0a 5c 64 65 66 5c | (#5)\\}|}..\def\|
|000001f0| 72 6f 75 74 6f 75 74 20 | 40 23 31 20 23 32 20 4f |routout |@#1 #2 O|
|00000200| 75 74 20 23 33 20 28 23 | 34 29 20 7b 7b 5c 62 66 |ut #3 (#|4) {{\bf|
|00000210| 20 40 23 31 7d 5c 5c 20 | 23 32 20 5c 5c 20 7b 5c | @#1}\\ |#2 \\ {\|
|00000220| 73 6c 20 4f 75 74 20 23 | 33 7d 20 5c 5c 20 7b 5c |sl Out #|3} \\ {\|
|00000230| 73 6d 61 6c 6c 20 28 23 | 34 29 5c 5c 7d 7d 0d 0a |small (#|4)\\}}..|
|00000240| 5c 64 65 66 5c 6d 61 63 | 72 6f 69 6e 65 78 20 40 |\def\mac|roinex @|
|00000250| 23 31 20 6d 61 63 72 6f | 20 23 32 20 49 6e 20 23 |#1 macro| #2 In #|
|00000260| 33 20 65 78 2e 20 23 34 | 20 9c 20 7b 5c 62 66 20 |3 ex. #4| . {\bf |
|00000270| 40 23 31 20 7b 5c 65 6d | 20 6d 61 63 72 6f 7d 20 |@#1 {\em| macro} |
|00000280| 5c 72 6d 20 5c 5c 20 23 | 32 0d 0a 5c 5c 20 7b 5c |\rm \\ #|2..\\ {\|
|00000290| 73 6c 20 49 6e 20 23 33 | 7d 20 5c 5c 20 7b 5c 73 |sl In #3|} \\ {\s|
|000002a0| 6d 61 6c 6c 7b 5c 74 74 | 20 65 78 20 23 34 7d 5c |mall{\tt| ex #4}\|
|000002b0| 5c 7d 7d 0d 0a 5c 64 65 | 66 5c 72 6f 75 74 69 6e |\}}..\de|f\routin|
|000002c0| 65 78 20 40 23 31 20 23 | 32 20 49 6e 20 23 33 20 |ex @#1 #|2 In #3 |
|000002d0| 28 23 34 29 20 65 78 2e | 20 23 35 20 9c 20 7b 7b |(#4) ex.| #5 . {{|
|000002e0| 5c 62 66 20 40 23 31 7d | 5c 5c 20 23 32 20 5c 5c |\bf @#1}|\\ #2 \\|
|000002f0| 20 7b 5c 73 6c 20 49 6e | 20 23 33 7d 20 5c 5c 20 | {\sl In| #3} \\ |
|00000300| 7b 5c 73 6d 61 6c 6c 0d | 0a 28 23 34 29 7d 20 5c |{\small.|.(#4)} \|
|00000310| 5c 20 7b 5c 73 6d 61 6c | 6c 7b 5c 74 74 20 65 78 |\ {\smal|l{\tt ex|
|00000320| 20 23 35 7d 5c 5c 7d 7d | 0d 0a 5c 64 65 66 5c 72 | #5}\\}}|..\def\r|
|00000330| 6f 75 74 6f 75 74 65 78 | 20 40 23 31 20 23 32 20 |outoutex| @#1 #2 |
|00000340| 4f 75 74 20 23 33 20 28 | 23 34 29 20 65 78 2e 20 |Out #3 (|#4) ex. |
|00000350| 23 35 20 9c 20 7b 7b 5c | 62 66 20 40 23 31 7d 5c |#5 . {{\|bf @#1}\|
|00000360| 5c 20 23 32 20 5c 5c 20 | 7b 5c 73 6c 20 4f 75 74 |\ #2 \\ |{\sl Out|
|00000370| 20 23 33 7d 20 5c 5c 20 | 7b 5c 73 6d 61 6c 6c 0d | #3} \\ |{\small.|
|00000380| 0a 28 23 34 29 7d 20 5c | 5c 20 7b 5c 73 6d 61 6c |.(#4)} \|\ {\smal|
|00000390| 6c 7b 5c 74 74 20 65 78 | 20 23 35 7d 5c 5c 7d 7d |l{\tt ex| #5}\\}}|
|000003a0| 0d 0a 5c 64 65 66 5c 6d | 61 63 72 6f 69 6e 20 40 |..\def\m|acroin @|
|000003b0| 23 31 20 6d 61 63 72 6f | 20 23 32 20 49 6e 20 23 |#1 macro| #2 In #|
|000003c0| 33 20 28 23 34 29 20 7b | 5c 62 66 20 40 23 31 20 |3 (#4) {|\bf @#1 |
|000003d0| 7b 5c 65 6d 20 6d 61 63 | 72 6f 7d 20 5c 72 6d 20 |{\em mac|ro} \rm |
|000003e0| 5c 5c 20 23 32 0d 0a 5c | 5c 20 7b 5c 73 6c 20 49 |\\ #2..\|\ {\sl I|
|000003f0| 6e 20 23 33 7d 20 5c 5c | 20 7b 5c 73 6d 61 6c 6c |n #3} \\| {\small|
|00000400| 20 28 23 34 29 5c 5c 7d | 7d 0d 0a 5c 64 65 66 5c | (#4)\\}|}..\def\|
|00000410| 6d 61 63 72 6f 20 40 23 | 31 20 6d 61 63 72 6f 20 |macro @#|1 macro |
|00000420| 23 32 20 28 23 33 29 20 | 7b 5c 62 66 20 40 23 31 |#2 (#3) |{\bf @#1|
|00000430| 20 7b 5c 65 6d 20 6d 61 | 63 72 6f 7d 20 5c 72 6d | {\em ma|cro} \rm|
|00000440| 20 5c 5c 20 23 32 20 5c | 5c 20 7b 5c 73 6d 61 6c | \\ #2 \|\ {\smal|
|00000450| 6c 20 28 23 33 29 5c 5c | 7d 7d 0d 0a 5c 64 65 66 |l (#3)\\|}}..\def|
|00000460| 5c 72 6f 75 74 69 6e 6f | 75 74 65 78 20 40 23 31 |\routino|utex @#1|
|00000470| 20 23 32 20 49 6e 20 23 | 33 20 4f 75 74 20 23 34 | #2 In #|3 Out #4|
|00000480| 20 28 23 35 29 20 65 78 | 2e 20 23 36 20 9c 20 7b | (#5) ex|. #6 . {|
|00000490| 7b 5c 62 66 20 40 23 31 | 7d 5c 5c 20 23 32 20 5c |{\bf @#1|}\\ #2 \|
|000004a0| 5c 0d 0a 7b 5c 73 6c 20 | 49 6e 20 23 33 7d 20 5c |\..{\sl |In #3} \|
|000004b0| 5c 20 7b 5c 73 6c 20 4f | 75 74 20 23 34 7d 20 5c |\ {\sl O|ut #4} \|
|000004c0| 5c 20 7b 5c 73 6d 61 6c | 6c 20 28 23 35 29 7d 20 |\ {\smal|l (#5)} |
|000004d0| 5c 5c 20 7b 5c 73 6d 61 | 6c 6c 7b 5c 74 74 20 65 |\\ {\sma|ll{\tt e|
|000004e0| 78 20 23 36 7d 5c 5c 7d | 7d 0d 0a 5c 64 65 66 5c |x #6}\\}|}..\def\|
|000004f0| 65 78 20 65 78 2e 20 23 | 31 20 9c 20 7b 7b 5c 73 |ex ex. #|1 . {{\s|
|00000500| 6d 61 6c 6c 20 7b 5c 74 | 74 20 65 78 20 23 31 7d |mall {\t|t ex #1}|
|00000510| 5c 5c 7d 7d 0d 0a 5c 64 | 65 66 5c 65 71 75 20 23 |\\}}..\d|ef\equ #|
|00000520| 31 20 45 51 55 20 23 32 | 20 7b 20 23 31 20 7b 5c |1 EQU #2| { #1 {\|
|00000530| 65 6d 20 65 71 75 7d 20 | 23 32 20 5c 5c 7d 20 0d |em equ} |#2 \\} .|
|00000540| 0a 0d 0a 0d 0a 5c 62 65 | 67 69 6e 7b 64 6f 63 75 |.....\be|gin{docu|
|00000550| 6d 65 6e 74 7d 0d 0a 5c | 74 77 6f 63 6f 6c 75 6d |ment}..\|twocolum|
|00000560| 6e 0d 0a 5c 6d 61 6b 65 | 74 69 74 6c 65 0d 0a 5c |n..\make|title..\|
|00000570| 74 61 62 6c 65 6f 66 63 | 6f 6e 74 65 6e 74 73 0d |tableofc|ontents.|
|00000580| 0a 0d 0a 0d 0a 5c 73 65 | 63 74 69 6f 6e 7b 49 6e |.....\se|ction{In|
|00000590| 74 72 6f 64 75 63 74 69 | 6f 6e 7d 0d 0a 0d 0a 5c |troducti|on}....\|
|000005a0| 73 75 62 73 65 63 74 69 | 6f 6e 7b 45 61 73 79 20 |subsecti|on{Easy |
|000005b0| 70 72 6f 67 72 61 6d 6d | 69 6e 67 7d 0d 0a 0d 0a |programm|ing}....|
|000005c0| 54 68 69 73 20 69 73 20 | 61 6e 20 61 73 73 65 6d |This is |an assem|
|000005d0| 62 6c 65 72 20 6c 69 62 | 72 61 72 79 20 66 6f 72 |bler lib|rary for|
|000005e0| 20 74 68 65 20 41 74 61 | 72 69 20 46 61 6c 63 6f | the Ata|ri Falco|
|000005f0| 6e 2e 20 42 79 20 75 73 | 69 6e 67 20 74 68 69 73 |n. By us|ing this|
|00000600| 20 49 20 68 6f 70 65 0d | 0a 74 6f 20 6d 61 6b 65 | I hope.|.to make|
|00000610| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 61 20 62 | program|ming a b|
|00000620| 69 74 20 66 61 73 74 65 | 72 20 61 6e 64 20 65 61 |it faste|r and ea|
|00000630| 73 69 65 72 2e 20 49 74 | 20 69 6e 63 6c 75 64 65 |sier. It| include|
|00000640| 73 20 61 20 6c 6f 74 20 | 6f 66 20 73 75 62 72 6f |s a lot |of subro|
|00000650| 75 74 69 6e 65 73 0d 0a | 77 68 69 63 68 20 6d 6f |utines..|which mo|
|00000660| 73 74 20 61 73 73 65 6d | 62 6c 65 72 20 70 72 6f |st assem|bler pro|
|00000670| 67 72 61 6d 6d 65 72 73 | 20 75 73 65 20 71 75 69 |grammers| use qui|
|00000680| 74 65 20 66 72 65 71 75 | 65 6e 74 6c 79 20 61 73 |te frequ|ently as|
|00000690| 20 77 65 6c 6c 20 61 73 | 20 73 6f 6d 65 0d 0a 6c | well as| some..l|
|000006a0| 65 73 73 20 66 72 65 71 | 75 65 6e 74 6c 79 20 75 |ess freq|uently u|
|000006b0| 73 65 64 20 67 72 61 70 | 68 69 63 20 72 6f 75 74 |sed grap|hic rout|
|000006c0| 69 6e 65 73 2e 20 49 20 | 68 61 76 65 20 74 65 73 |ines. I |have tes|
|000006d0| 74 65 64 20 61 6c 6c 20 | 72 6f 75 74 69 6e 65 73 |ted all |routines|
|000006e0| 0d 0a 61 6e 64 20 74 68 | 65 79 20 73 65 65 6d 20 |..and th|ey seem |
|000006f0| 74 6f 20 77 6f 72 6b 20 | 6f 6b 2c 20 62 75 74 20 |to work |ok, but |
|00000700| 49 20 63 61 6e 27 74 20 | 67 75 61 72 61 6e 74 65 |I can't |guarante|
|00000710| 65 20 69 74 2e 20 46 6f | 72 20 65 76 65 72 79 74 |e it. Fo|r everyt|
|00000720| 68 69 6e 67 20 74 6f 20 | 77 6f 72 6b 0d 0a 70 72 |hing to |work..pr|
|00000730| 6f 70 65 72 6c 79 20 75 | 73 65 20 44 65 76 70 61 |operly u|se Devpa|
|00000740| 63 20 33 20 77 69 74 68 | 20 69 67 6e 6f 72 65 20 |c 3 with| ignore |
|00000750| 6d 75 6c 74 69 70 6c 65 | 20 69 6e 63 6c 75 64 65 |multiple| include|
|00000760| 73 20 61 63 74 69 76 65 | 2e 20 4d 6f 73 74 20 74 |s active|. Most t|
|00000770| 68 69 6e 67 73 0d 0a 77 | 69 6c 6c 20 70 72 6f 62 |hings..w|ill prob|
|00000780| 61 62 6c 79 20 77 6f 72 | 6b 20 6e 69 63 65 20 77 |ably wor|k nice w|
|00000790| 69 74 68 20 44 65 76 70 | 61 63 20 32 20 74 6f 6f |ith Devp|ac 2 too|
|000007a0| 2e 0d 0a 0d 0a 49 66 20 | 79 6f 75 20 68 61 76 65 |.....If |you have|
|000007b0| 20 6d 61 64 65 20 61 20 | 72 6f 75 74 69 6e 65 20 | made a |routine |
|000007c0| 49 20 77 6f 75 6c 64 20 | 61 70 70 72 65 63 69 61 |I would |apprecia|
|000007d0| 74 65 20 69 66 20 79 6f | 75 20 73 65 6e 74 20 69 |te if yo|u sent i|
|000007e0| 74 20 0d 0a 74 6f 20 6d | 65 2c 20 74 68 61 74 20 |t ..to m|e, that |
|000007f0| 77 61 79 20 49 20 63 6f | 75 6c 64 20 69 6e 63 6c |way I co|uld incl|
|00000800| 75 64 65 20 69 74 20 69 | 6e 20 74 68 65 20 46 61 |ude it i|n the Fa|
|00000810| 6c 63 6f 6e 20 4c 69 62 | 72 61 72 79 20 66 6f 72 |lcon Lib|rary for|
|00000820| 20 74 68 65 0d 0a 62 65 | 6e 65 66 69 74 20 6f 66 | the..be|nefit of|
|00000830| 20 65 76 65 72 79 6f 6e | 65 2e 20 50 6c 65 61 73 | everyon|e. Pleas|
|00000840| 65 20 73 65 6e 64 20 61 | 6e 79 20 71 75 65 73 74 |e send a|ny quest|
|00000850| 69 6f 6e 73 2c 20 62 75 | 67 72 65 70 6f 72 74 73 |ions, bu|greports|
|00000860| 0d 0a 6f 72 20 63 6f 6e | 74 72 69 62 75 74 69 6f |..or con|tributio|
|00000870| 6e 73 20 74 6f 20 6d 65 | 2e 20 4d 79 20 61 64 64 |ns to me|. My add|
|00000880| 72 65 73 73 20 69 73 20 | 61 74 20 74 68 65 20 65 |ress is |at the e|
|00000890| 6e 64 20 6f 66 20 74 68 | 69 73 20 64 6f 63 75 6d |nd of th|is docum|
|000008a0| 65 6e 74 2e 0d 0a 0d 0a | 5c 73 75 62 73 65 63 74 |ent.....|\subsect|
|000008b0| 69 6f 6e 7b 48 6f 77 20 | 74 6f 20 75 73 65 20 69 |ion{How |to use i|
|000008c0| 74 7d 09 09 09 0d 0a 09 | 09 09 0d 0a 46 6f 6c 6c |t}......|....Foll|
|000008d0| 6f 77 69 6e 67 20 61 72 | 65 20 73 68 6f 72 74 20 |owing ar|e short |
|000008e0| 64 65 73 63 72 69 70 74 | 69 6f 6e 73 20 6f 66 20 |descript|ions of |
|000008f0| 61 6c 6c 20 69 6e 63 6c | 75 64 65 64 20 72 6f 75 |all incl|uded rou|
|00000900| 74 69 6e 65 73 2e 20 4d | 6f 73 74 20 61 72 65 0d |tines. M|ost are.|
|00000910| 0a 73 75 62 72 6f 75 74 | 69 6e 65 73 20 61 6e 64 |.subrout|ines and|
|00000920| 20 73 68 6f 75 6c 64 20 | 62 65 20 63 61 6c 6c 65 | should |be calle|
|00000930| 64 20 77 69 74 68 20 27 | 62 73 72 27 20 6f 72 20 |d with '|bsr' or |
|00000940| 27 6a 73 72 27 20 75 6e | 6c 65 73 73 20 74 68 65 |'jsr' un|less the|
|00000950| 20 77 6f 72 64 0d 0a 6d | 61 63 72 6f 20 66 6f 6c | word..m|acro fol|
|00000960| 6c 6f 77 73 20 74 68 65 | 20 72 6f 75 74 69 6e 65 |lows the| routine|
|00000970| 20 6e 61 6d 65 20 69 6e | 20 77 68 69 63 68 20 63 | name in| which c|
|00000980| 61 73 65 20 69 74 20 69 | 73 20 61 20 6d 61 63 72 |ase it i|s a macr|
|00000990| 6f 2e 20 49 66 20 61 0d | 0a 72 6f 75 74 69 6e 65 |o. If a.|.routine|
|000009a0| 20 73 61 79 73 20 27 64 | 65 73 74 72 6f 79 73 20 | says 'd|estroys |
|000009b0| 61 20 6c 6f 74 27 20 74 | 68 65 6e 20 79 6f 75 20 |a lot' t|hen you |
|000009c0| 73 68 6f 75 6c 64 20 73 | 61 76 65 20 61 6c 6c 20 |should s|ave all |
|000009d0| 74 68 65 20 72 65 67 69 | 73 74 65 72 73 0d 0a 79 |the regi|sters..y|
|000009e0| 6f 75 20 61 72 65 20 75 | 73 69 6e 67 20 65 78 63 |ou are u|sing exc|
|000009f0| 65 70 74 20 61 37 20 77 | 68 69 63 68 20 69 73 20 |ept a7 w|hich is |
|00000a00| 6e 65 76 65 72 20 72 75 | 69 6e 65 64 2e 20 53 6f |never ru|ined. So|
|00000a10| 6d 65 20 72 6f 75 74 69 | 6e 65 20 64 65 73 63 72 |me routi|ne descr|
|00000a20| 69 70 74 69 6f 6e 73 0d | 0a 65 76 65 6e 20 63 6f |iptions.|.even co|
|00000a30| 6e 74 61 69 6e 73 20 61 | 6e 20 65 78 61 6d 70 6c |ntains a|n exampl|
|00000a40| 65 2c 20 73 6f 20 68 6f | 70 65 66 75 6c 6c 79 20 |e, so ho|pefully |
|00000a50| 74 68 65 72 65 20 77 69 | 6c 6c 20 62 65 20 6e 6f |there wi|ll be no|
|00000a60| 20 70 72 6f 62 6c 65 6d | 73 0d 0a 75 6e 64 65 72 | problem|s..under|
|00000a70| 73 74 61 6e 64 69 6e 67 | 20 74 68 65 6d 2e 0d 0a |standing| them...|
|00000a80| 0d 0a 0d 0a 5c 73 65 63 | 74 69 6f 6e 7b 52 6f 75 |....\sec|tion{Rou|
|00000a90| 74 69 6e 65 20 64 65 73 | 63 72 69 70 74 69 6f 6e |tine des|cription|
|00000aa0| 73 7d 0d 0a 0d 0a 0d 0a | 5c 66 69 6c 65 0d 0a 20 |s}......|\file.. |
|00000ab0| 43 61 63 68 65 2e 53 0d | 0a 0d 0a 09 43 61 63 68 |Cache.S.|....Cach|
|00000ac0| 65 20 65 71 75 61 74 65 | 73 2e 20 59 6f 75 27 6c |e equate|s. You'l|
|00000ad0| 6c 20 6e 65 65 64 20 64 | 65 76 70 61 63 20 33 20 |l need d|evpac 3 |
|00000ae0| 66 6f 72 20 74 68 69 73 | 20 6f 6e 65 20 49 20 74 |for this| one I t|
|00000af0| 68 69 6e 6b 2e 0d 0a 09 | 48 65 72 65 20 74 68 65 |hink....|Here the|
|00000b00| 79 20 61 72 65 3a 0d 0a | 5c 5c 0d 0a 5c 65 71 75 |y are:..|\\..\equ|
|00000b10| 0d 0a 09 20 45 4e 41 42 | 4c 45 5c 5f 43 41 43 48 |... ENAB|LE\_CACH|
|00000b20| 45 09 09 45 51 55 20 31 | 20 20 20 0d 0a 5c 65 71 |E..EQU 1| ..\eq|
|00000b30| 75 0d 0a 09 20 46 52 45 | 45 5a 45 5c 5f 43 41 43 |u... FRE|EZE\_CAC|
|00000b40| 48 45 09 09 45 51 55 20 | 32 20 20 0d 0a 5c 65 71 |HE..EQU |2 ..\eq|
|00000b50| 75 09 20 0d 0a 09 20 43 | 4c 45 41 52 5c 5f 49 4e |u. ... C|LEAR\_IN|
|00000b60| 53 54 5c 5f 43 41 43 48 | 45 5c 5f 45 4e 54 52 59 |ST\_CACH|E\_ENTRY|
|00000b70| 09 45 51 55 20 34 20 20 | 20 0d 0a 5c 65 71 75 0d |.EQU 4 | ..\equ.|
|00000b80| 0a 09 20 43 4c 45 41 52 | 5c 5f 49 4e 53 54 5c 5f |.. CLEAR|\_INST\_|
|00000b90| 43 41 43 48 45 09 45 51 | 55 20 38 20 20 0d 0a 5c |CACHE.EQ|U 8 ..\|
|00000ba0| 65 71 75 0d 0a 09 20 49 | 4e 53 54 5c 5f 42 55 52 |equ... I|NST\_BUR|
|00000bb0| 53 54 5c 5f 45 4e 41 42 | 4c 45 09 45 51 55 20 31 |ST\_ENAB|LE.EQU 1|
|00000bc0| 36 20 20 0d 0a 5c 65 71 | 75 0d 0a 09 20 45 4e 41 |6 ..\eq|u... ENA|
|00000bd0| 42 4c 45 5c 5f 44 41 54 | 41 5c 5f 43 41 43 48 45 |BLE\_DAT|A\_CACHE|
|00000be0| 09 45 51 55 20 32 35 36 | 20 0d 0a 5c 65 71 75 0d |.EQU 256| ..\equ.|
|00000bf0| 0a 09 20 46 52 45 45 5a | 45 5c 5f 44 41 54 41 5c |.. FREEZ|E\_DATA\|
|00000c00| 5f 43 41 43 48 45 09 45 | 51 55 20 35 31 32 20 0d |_CACHE.E|QU 512 .|
|00000c10| 0a 5c 65 71 75 0d 0a 09 | 20 43 4c 45 41 52 5c 5f |.\equ...| CLEAR\_|
|00000c20| 44 41 54 41 5c 5f 43 41 | 43 48 45 5c 5f 45 4e 54 |DATA\_CA|CHE\_ENT|
|00000c30| 52 59 09 45 51 55 20 31 | 30 32 34 20 0d 0a 5c 65 |RY.EQU 1|024 ..\e|
|00000c40| 71 75 0d 0a 09 20 43 4c | 45 41 52 5c 5f 44 41 54 |qu... CL|EAR\_DAT|
|00000c50| 41 5c 5f 43 41 43 48 45 | 09 45 51 55 20 32 30 34 |A\_CACHE|.EQU 204|
|00000c60| 38 20 0d 0a 5c 65 71 75 | 0d 0a 09 20 44 41 54 41 |8 ..\equ|... DATA|
|00000c70| 5c 5f 42 55 52 53 54 5c | 5f 45 4e 41 42 4c 45 09 |\_BURST\|_ENABLE.|
|00000c80| 45 51 55 20 34 30 39 36 | 20 0d 0a 5c 65 71 75 0d |EQU 4096| ..\equ.|
|00000c90| 0a 09 20 57 52 49 54 45 | 5c 5f 41 4c 4c 4f 43 41 |.. WRITE|\_ALLOCA|
|00000ca0| 54 45 09 09 45 51 55 20 | 38 31 39 32 20 0d 0a 5c |TE..EQU |8192 ..\|
|00000cb0| 65 78 0d 0a 20 65 78 2e | 09 6d 6f 76 65 2e 6c 20 |ex.. ex.|.move.l |
|00000cc0| 5c 23 45 4e 41 42 4c 45 | 5c 5f 43 41 43 48 45 2b |\#ENABLE|\_CACHE+|
|00000cd0| 20 45 4e 41 42 4c 45 5c | 5f 44 41 54 41 5c 5f 43 | ENABLE\|_DATA\_C|
|00000ce0| 41 43 48 45 2b 20 57 52 | 49 54 45 5c 5f 41 4c 4c |ACHE+ WR|ITE\_ALL|
|00000cf0| 4f 43 41 54 45 2c 64 30 | 20 5c 5c 0d 0a 20 20 20 |OCATE,d0| \\.. |
|00000d00| 20 20 20 6d 6f 76 65 63 | 09 64 30 2c 43 41 43 52 | movec|.d0,CACR|
|00000d10| 20 3b 20 74 75 72 6e 73 | 20 6f 6e 20 74 68 65 20 | ; turns| on the |
|00000d20| 63 61 63 68 65 73 20 0d | 0a 9c 0d 0a 0d 0a 0d 0a |caches .|........|
|00000d30| 5c 66 69 6c 65 0d 0a 20 | 43 6c 73 2e 53 0d 0a 5c |\file.. |Cls.S..\|
|00000d40| 72 6f 75 74 69 6e 0d 0a | 09 40 63 6c 73 3f 3f 3f |routin..|.@cls???|
|00000d50| 0d 0a 09 20 63 6c 65 61 | 72 73 20 3f 3f 3f 20 62 |... clea|rs ??? b|
|00000d60| 79 74 65 73 2e 0d 0a 20 | 49 6e 09 20 61 30 2e 6c |ytes... |In. a0.l|
|00000d70| 3d 73 74 61 72 74 20 61 | 64 64 72 65 73 73 0d 0a |=start a|ddress..|
|00000d80| 09 20 28 64 65 73 74 72 | 6f 79 73 20 61 20 6c 6f |. (destr|oys a lo|
|00000d90| 74 29 0d 0a 0d 0a 5c 66 | 69 6c 65 0d 0a 20 43 6f |t)....\f|ile.. Co|
|00000da0| 6e 76 70 61 6c 31 2e 53 | 0d 0a 5c 72 6f 75 74 69 |nvpal1.S|..\routi|
|00000db0| 6e 6f 75 74 0d 0a 09 40 | 63 6f 6e 76 65 72 74 5c |nout...@|convert\|
|00000dc0| 5f 73 74 70 61 6c 0d 0a | 09 43 6f 6e 76 65 72 74 |_stpal..|.Convert|
|00000dd0| 20 61 6e 20 6f 6c 64 20 | 73 74 20 63 6f 6c 6f 75 | an old |st colou|
|00000de0| 72 20 76 61 6c 75 65 20 | 74 6f 20 61 20 6e 65 77 |r value |to a new|
|00000df0| 20 66 61 6c 63 6f 6e 20 | 6f 6e 65 0d 0a 20 49 6e | falcon |one.. In|
|00000e00| 09 64 30 2e 77 3d 6f 6c | 64 20 73 74 20 63 6f 6c |.d0.w=ol|d st col|
|00000e10| 6f 75 72 0d 0a 20 4f 75 | 74 09 64 30 2e 6c 3d 66 |our.. Ou|t.d0.l=f|
|00000e20| 61 6c 63 6f 6e 20 63 6f | 6c 6f 75 72 0d 0a 09 28 |alcon co|lour...(|
|00000e30| 64 65 73 74 72 6f 79 73 | 20 64 31 2d 64 33 29 0d |destroys| d1-d3).|
|00000e40| 0a 0d 0a 0d 0a 5c 66 69 | 6c 65 0d 0a 20 43 6f 6f |.....\fi|le.. Coo|
|00000e50| 6b 69 65 2e 53 0d 0a 5c | 72 6f 75 74 69 6e 6f 75 |kie.S..\|routinou|
|00000e60| 74 0d 0a 09 40 67 65 74 | 63 6f 6f 6b 69 65 0d 0a |t...@get|cookie..|
|00000e70| 09 46 69 6e 64 73 20 61 | 6e 64 20 72 65 74 75 72 |.Finds a|nd retur|
|00000e80| 6e 73 20 61 20 43 6f 6f | 6b 69 65 2e 20 53 75 70 |ns a Coo|kie. Sup|
|00000e90| 65 72 76 69 73 6f 72 20 | 6f 6e 6c 79 21 0d 0a 20 |ervisor |only!.. |
|00000ea0| 49 6e 09 64 31 2e 6c 3d | 43 6f 6f 6b 69 65 20 6e |In.d1.l=|Cookie n|
|00000eb0| 61 6d 65 0d 0a 20 4f 75 | 74 09 64 30 2e 6c 3d 43 |ame.. Ou|t.d0.l=C|
|00000ec0| 6f 6f 6b 69 65 20 76 61 | 6c 75 65 20 6f 72 20 2d |ookie va|lue or -|
|00000ed0| 31 0d 0a 09 28 64 65 73 | 74 72 6f 79 73 20 61 30 |1...(des|troys a0|
|00000ee0| 29 0d 0a 0d 0a 0d 0a 5c | 66 69 6c 65 0d 0a 20 44 |)......\|file.. D|
|00000ef0| 73 70 6d 6f 64 2e 53 0d | 0a 5c 72 6f 75 74 69 6e |spmod.S.|.\routin|
|00000f00| 0d 0a 09 40 64 73 70 5c | 5f 70 6c 61 79 0d 0a 09 |...@dsp\|_play...|
|00000f10| 53 65 74 73 20 69 6e 74 | 65 72 75 70 74 73 20 61 |Sets int|erupts a|
|00000f20| 6e 64 20 70 6c 61 79 73 | 20 73 6f 6d 65 20 73 6f |nd plays| some so|
|00000f30| 75 6e 64 74 72 61 63 6b | 65 72 20 6d 75 73 69 63 |undtrack|er music|
|00000f40| 2e 20 4d 6f 64 75 6c 65 | 73 20 6d 75 73 74 6e 27 |. Module|s mustn'|
|00000f50| 74 20 68 61 76 65 20 0d | 0a 09 6d 6f 72 65 20 74 |t have .|..more t|
|00000f60| 68 61 6e 20 34 20 76 6f | 69 63 65 73 2e 20 53 75 |han 4 vo|ices. Su|
|00000f70| 70 65 72 76 69 73 6f 72 | 20 6f 6e 6c 79 2e 0d 0a |pervisor| only...|
|00000f80| 20 49 6e 09 61 30 2e 6c | 3d 4d 6f 64 75 6c 65 20 | In.a0.l|=Module |
|00000f90| 61 64 72 2e 0d 0a 09 28 | 64 65 73 74 72 6f 79 73 |adr....(|destroys|
|00000fa0| 20 61 20 6c 6f 74 29 0d | 0a 5c 5c 0d 0a 5c 72 6f | a lot).|.\\..\ro|
|00000fb0| 75 74 0d 0a 09 40 64 73 | 70 5c 5f 73 74 6f 70 0d |ut...@ds|p\_stop.|
|00000fc0| 0a 09 53 74 6f 70 73 20 | 70 6c 61 79 69 6e 67 20 |..Stops |playing |
|00000fd0| 74 68 65 20 6d 75 73 69 | 63 20 61 6e 64 20 72 65 |the musi|c and re|
|00000fe0| 73 74 6f 72 65 73 20 69 | 6e 74 65 72 75 70 74 73 |stores i|nterupts|
|00000ff0| 2e 0d 0a 09 53 75 70 65 | 72 76 69 73 6f 72 20 6f |....Supe|rvisor o|
|00001000| 6e 6c 79 2e 0d 0a 09 28 | 64 65 73 74 72 6f 79 73 |nly....(|destroys|
|00001010| 20 61 20 6c 6f 74 29 0d | 0a 0d 0a 0d 0a 5c 66 69 | a lot).|.....\fi|
|00001020| 6c 65 0d 0a 20 45 78 69 | 74 2e 53 0d 0a 5c 6d 61 |le.. Exi|t.S..\ma|
|00001030| 63 72 6f 0d 0a 09 40 65 | 78 69 74 69 66 73 70 61 |cro...@e|xitifspa|
|00001040| 63 65 20 20 6d 61 63 72 | 6f 0d 0a 09 20 62 72 61 |ce macr|o... bra|
|00001050| 6e 63 68 65 73 20 74 6f | 20 65 78 69 74 20 69 66 |nches to| exit if|
|00001060| 20 73 70 61 63 65 20 68 | 61 73 20 62 65 65 6e 20 | space h|as been |
|00001070| 70 72 65 73 73 65 64 2e | 20 53 75 70 65 72 76 69 |pressed.| Supervi|
|00001080| 73 6f 72 20 6f 6e 6c 79 | 21 0d 0a 09 20 28 64 65 |sor only|!... (de|
|00001090| 73 74 72 6f 79 73 20 6e | 6f 74 68 69 6e 67 29 0d |stroys n|othing).|
|000010a0| 0a 0d 0a 5c 66 69 6c 65 | 0d 0a 20 46 61 64 65 2e |...\file|.. Fade.|
|000010b0| 53 0d 0a 5c 72 6f 75 74 | 69 6e 0d 0a 09 40 66 61 |S..\rout|in...@fa|
|000010c0| 64 65 74 72 75 70 69 78 | 0d 0a 09 20 46 61 64 65 |detrupix|... Fade|
|000010d0| 73 20 61 20 74 72 75 65 | 20 63 6f 6c 6f 75 72 20 |s a true| colour |
|000010e0| 70 69 78 65 6c 73 20 66 | 72 6f 6d 20 6f 6e 65 20 |pixels f|rom one |
|000010f0| 63 6f 6c 6f 75 72 20 74 | 6f 20 61 6e 6f 74 68 65 |colour t|o anothe|
|00001100| 72 2e 0d 0a 09 20 49 74 | 20 77 69 6c 6c 20 66 61 |r.... It| will fa|
|00001110| 64 65 20 31 2f 33 31 20 | 70 61 72 74 20 65 61 63 |de 1/31 |part eac|
|00001120| 68 20 74 69 6d 65 20 79 | 6f 75 20 63 61 6c 6c 20 |h time y|ou call |
|00001130| 74 68 69 73 20 72 6f 75 | 74 2e 0d 0a 20 49 6e 09 |this rou|t... In.|
|00001140| 20 61 30 2e 6c 3d 70 6f | 69 6e 74 65 72 20 74 6f | a0.l=po|inter to|
|00001150| 20 63 6f 6c 6f 75 72 20 | 74 6f 20 63 68 61 6e 67 | colour |to chang|
|00001160| 65 5c 5c 0d 0a 09 20 61 | 31 2e 6c 3d 70 6f 69 6e |e\\... a|1.l=poin|
|00001170| 74 65 72 20 74 6f 20 74 | 61 72 67 65 74 20 63 6f |ter to t|arget co|
|00001180| 6c 6f 75 72 0d 0a 09 20 | 28 64 65 73 74 72 6f 79 |lour... |(destroy|
|00001190| 73 20 64 31 2d 64 34 3b | 20 61 64 64 73 20 32 20 |s d1-d4;| adds 2 |
|000011a0| 74 6f 20 61 30 2d 61 31 | 29 0d 0a 0d 0a 0d 0a 5c |to a0-a1|)......\|
|000011b0| 66 69 6c 65 0d 0a 20 46 | 61 64 65 32 2e 53 0d 0a |file.. F|ade2.S..|
|000011c0| 5c 72 6f 75 74 69 6e 0d | 0a 09 40 66 61 64 65 74 |\routin.|..@fadet|
|000011d0| 72 75 70 69 78 32 0d 0a | 09 20 46 61 64 65 73 20 |rupix2..|. Fades |
|000011e0| 61 20 74 72 75 65 20 63 | 6f 6c 6f 75 72 20 70 69 |a true c|olour pi|
|000011f0| 78 65 6c 73 20 66 72 6f | 6d 20 6f 6e 65 20 63 6f |xels fro|m one co|
|00001200| 6c 6f 75 72 20 74 6f 20 | 61 6e 6f 74 68 65 72 2e |lour to |another.|
|00001210| 0d 0a 09 20 49 74 20 77 | 69 6c 6c 20 66 61 64 65 |... It w|ill fade|
|00001220| 20 31 2f 33 31 20 70 61 | 72 74 20 65 61 63 68 20 | 1/31 pa|rt each |
|00001230| 74 69 6d 65 20 79 6f 75 | 20 63 61 6c 6c 20 74 68 |time you| call th|
|00001240| 69 73 20 72 6f 75 74 2e | 0d 0a 09 20 54 68 65 20 |is rout.|... The |
|00001250| 64 69 66 66 65 72 65 6e | 63 65 20 62 65 74 77 65 |differen|ce betwe|
|00001260| 65 6e 20 74 68 69 73 20 | 6f 6e 65 20 61 6e 64 20 |en this |one and |
|00001270| 46 41 44 45 2e 53 20 69 | 73 20 74 68 61 74 20 74 |FADE.S i|s that t|
|00001280| 68 69 73 20 6f 6e 65 0d | 0a 09 20 66 61 64 65 73 |his one.|.. fades|
|00001290| 20 74 77 6f 20 70 69 78 | 65 6c 73 20 61 74 20 6f | two pix|els at o|
|000012a0| 6e 63 65 20 61 6e 64 20 | 69 73 20 73 6c 69 67 68 |nce and |is sligh|
|000012b0| 74 6c 79 20 66 61 73 74 | 65 72 2e 0d 0a 20 49 6e |tly fast|er... In|
|000012c0| 09 20 61 30 2e 6c 3d 70 | 6f 69 6e 74 65 72 20 74 |. a0.l=p|ointer t|
|000012d0| 6f 20 63 6f 6c 6f 75 72 | 73 20 74 6f 20 63 68 61 |o colour|s to cha|
|000012e0| 6e 67 65 5c 5c 0d 0a 09 | 20 61 31 2e 6c 3d 70 6f |nge\\...| a1.l=po|
|000012f0| 69 6e 74 65 72 20 74 6f | 20 74 61 72 67 65 74 20 |inter to| target |
|00001300| 63 6f 6c 6f 75 72 73 0d | 0a 09 20 28 64 65 73 74 |colours.|.. (dest|
|00001310| 72 6f 79 73 20 64 31 2d | 64 34 3b 20 61 64 64 73 |roys d1-|d4; adds|
|00001320| 20 34 20 74 6f 20 61 30 | 2d 61 31 29 0d 0a 0d 0a | 4 to a0|-a1)....|
|00001330| 5c 66 69 6c 65 0d 0a 20 | 46 72 61 6d 65 2e 53 0d |\file.. |Frame.S.|
|00001340| 0a 09 54 68 69 73 20 69 | 73 20 61 20 70 72 6f 67 |..This i|s a prog|
|00001350| 72 61 6d 20 66 72 61 6d | 65 20 74 68 61 74 20 6d |ram fram|e that m|
|00001360| 61 79 20 62 65 20 75 73 | 65 64 20 61 73 20 61 20 |ay be us|ed as a |
|00001370| 73 74 61 72 74 20 66 6f | 72 0d 0a 09 6e 65 77 20 |start fo|r...new |
|00001380| 70 72 6f 67 72 61 6d 73 | 2e 20 4a 75 73 74 20 6c |programs|. Just l|
|00001390| 6f 61 64 20 69 74 20 61 | 6e 64 20 66 69 6c 6c 20 |oad it a|nd fill |
|000013a0| 69 6e 20 74 68 65 20 62 | 6c 61 6e 6b 73 20 28 74 |in the b|lanks (t|
|000013b0| 68 65 72 65 0d 0a 09 69 | 73 20 61 20 6c 6f 74 20 |here...i|s a lot |
|000013c0| 6f 66 20 74 68 65 6d 29 | 2e 0d 0a 0d 0a 5c 66 69 |of them)|.....\fi|
|000013d0| 6c 65 0d 0a 20 47 65 6d | 2e 53 0d 0a 5c 6d 61 63 |le.. Gem|.S..\mac|
|000013e0| 72 6f 69 6e 65 78 0d 0a | 09 40 67 65 6d 64 6f 73 |roinex..|.@gemdos|
|000013f0| 09 6d 61 63 72 6f 0d 0a | 09 43 61 6c 6c 73 20 74 |.macro..|.Calls t|
|00001400| 72 61 70 20 5c 23 31 0d | 0a 20 49 6e 09 20 5c 23 |rap \#1.|. In. \#|
|00001410| 66 75 6e 63 74 69 6f 6e | 6e 62 72 2c 20 5c 23 73 |function|nbr, \#s|
|00001420| 74 61 63 6b 63 6f 72 72 | 65 63 74 69 6f 6e 0d 0a |tackcorr|ection..|
|00001430| 20 65 78 2e 09 20 40 67 | 65 6d 64 6f 73 7e 31 2c | ex.. @g|emdos~1,|
|00001440| 32 20 3b 20 77 61 69 74 | 73 20 66 6f 72 20 61 20 |2 ; wait|s for a |
|00001450| 6b 65 79 20 9c 0d 0a 5c | 5c 0d 0a 5c 6d 61 63 72 |key ...\|\..\macr|
|00001460| 6f 69 6e 65 78 0d 0a 09 | 40 78 62 69 6f 73 09 6d |oinex...|@xbios.m|
|00001470| 61 63 72 6f 0d 0a 09 43 | 61 6c 6c 73 20 74 72 61 |acro...C|alls tra|
|00001480| 70 20 5c 23 31 34 0d 0a | 20 49 6e 09 20 5c 23 66 |p \#14..| In. \#f|
|00001490| 75 6e 63 74 69 6f 6e 6e | 62 72 2c 20 5c 23 73 74 |unctionn|br, \#st|
|000014a0| 61 63 6b 63 6f 72 72 65 | 63 74 69 6f 6e 0d 0a 20 |ackcorre|ction.. |
|000014b0| 65 78 2e 09 20 40 78 62 | 69 6f 73 7e 33 37 2c 32 |ex.. @xb|ios~37,2|
|000014c0| 20 3b 20 77 61 69 74 73 | 20 66 6f 72 20 76 73 79 | ; waits| for vsy|
|000014d0| 6e 63 20 9c 0d 0a 5c 5c | 0d 0a 5c 6d 61 63 72 6f |nc ...\\|..\macro|
|000014e0| 69 6e 65 78 0d 0a 09 40 | 67 65 6d 09 6d 61 63 72 |inex...@|gem.macr|
|000014f0| 6f 0d 0a 09 43 61 6c 6c | 73 20 61 20 74 72 61 70 |o...Call|s a trap|
|00001500| 0d 0a 20 49 6e 09 20 5c | 23 66 75 6e 63 74 69 6f |.. In. \|#functio|
|00001510| 6e 6e 62 72 2c 20 5c 23 | 74 72 61 70 6e 62 72 2c |nnbr, \#|trapnbr,|
|00001520| 20 5c 23 73 74 61 63 6b | 63 6f 72 72 65 63 74 69 | \#stack|correcti|
|00001530| 6f 6e 0d 0a 20 65 78 2e | 09 20 40 67 65 6d 7e 31 |on.. ex.|. @gem~1|
|00001540| 2c 31 2c 32 20 3b 20 77 | 61 69 74 73 20 66 6f 72 |,1,2 ; w|aits for|
|00001550| 20 61 20 6b 65 79 20 9c | 0d 0a 0d 0a 0d 0a 5c 66 | a key .|......\f|
|00001560| 69 6c 65 0d 0a 20 47 65 | 74 70 61 72 2e 53 09 28 |ile.. Ge|tpar.S.(|
|00001570| 69 6e 63 6c 75 64 65 20 | 72 69 67 68 74 20 61 66 |include |right af|
|00001580| 74 65 72 20 72 65 6c 65 | 61 73 65 6d 2e 73 29 0d |ter rele|asem.s).|
|00001590| 0a 0d 0a 09 47 65 74 73 | 20 61 6c 6c 20 70 61 72 |....Gets| all par|
|000015a0| 61 6d 65 74 65 72 73 20 | 73 65 6e 74 20 74 6f 20 |ameters |sent to |
|000015b0| 74 68 65 20 70 72 6f 67 | 72 61 6d 2e 0d 0a 09 4d |the prog|ram....M|
|000015c0| 75 73 74 20 62 65 20 64 | 69 72 65 63 74 6c 79 20 |ust be d|irectly |
|000015d0| 61 66 74 65 72 20 72 65 | 6c 65 61 73 65 6d 2e 5c |after re|leasem.\|
|000015e0| 5c 0d 0a 4f 75 74 09 61 | 30 2e 6c 3d 41 64 64 72 |\..Out.a|0.l=Addr|
|000015f0| 65 73 73 20 77 68 65 72 | 65 20 74 68 65 20 70 61 |ess wher|e the pa|
|00001600| 72 61 6d 65 74 65 72 73 | 20 61 72 65 20 6b 65 70 |rameters| are kep|
|00001610| 74 0d 0a 5c 65 78 0d 0a | 20 65 78 2e 09 69 6e 63 |t..\ex..| ex..inc|
|00001620| 6c 75 64 65 09 72 65 6c | 65 61 73 65 6d 2e 73 20 |lude.rel|easem.s |
|00001630| 3b 20 72 65 6c 65 61 73 | 65 20 75 6e 75 73 65 64 |; releas|e unused|
|00001640| 20 6d 65 6d 6f 72 79 2c | 20 74 68 69 73 20 69 73 | memory,| this is|
|00001650| 20 6c 69 6e 65 20 6e 72 | 20 31 20 6f 66 20 74 68 | line nr| 1 of th|
|00001660| 65 0d 0a 09 70 72 6f 67 | 72 61 6d 5c 5c 0d 0a 20 |e...prog|ram\\.. |
|00001670| 20 20 69 6e 63 6c 75 64 | 65 20 67 65 74 70 61 72 | includ|e getpar|
|00001680| 2e 73 20 3b 20 67 65 74 | 20 61 64 72 2e 20 77 68 |.s ; get| adr. wh|
|00001690| 65 72 65 20 74 68 65 20 | 70 61 72 61 6d 65 74 65 |ere the |paramete|
|000016a0| 72 73 20 61 72 65 20 6b | 65 70 74 5c 5c 0d 0a 09 |rs are k|ept\\...|
|000016b0| 6d 6f 76 65 2e 6c 20 61 | 30 2c 70 61 72 61 64 72 |move.l a|0,paradr|
|000016c0| 20 3b 20 73 61 76 65 20 | 74 68 65 20 72 65 73 75 | ; save |the resu|
|000016d0| 6c 74 5c 5c 0d 0a 5c 5c | 0d 0a 09 70 61 72 61 64 |lt\\..\\|...parad|
|000016e0| 72 20 64 73 2e 6c 20 31 | 0d 0a 9c 0d 0a 0d 0a 5c |r ds.l 1|.......\|
|000016f0| 66 69 6c 65 0d 0a 20 47 | 6f 72 61 75 64 2e 53 0d |file.. G|oraud.S.|
|00001700| 0a 5c 72 6f 75 74 69 6e | 65 78 0d 0a 09 40 67 6f |.\routin|ex...@go|
|00001710| 72 61 75 64 0d 0a 09 44 | 72 61 77 20 61 20 67 6f |raud...D|raw a go|
|00001720| 72 61 75 64 20 73 68 61 | 64 65 64 20 70 6f 6c 79 |raud sha|ded poly|
|00001730| 67 6f 6e 20 69 6e 20 74 | 72 75 65 20 63 6f 6c 6f |gon in t|rue colo|
|00001740| 75 72 2e 0d 0a 09 54 68 | 65 72 65 27 73 20 6e 6f |ur....Th|ere's no|
|00001750| 20 63 6c 69 70 70 69 6e | 67 20 73 6f 20 64 6f 6e | clippin|g so don|
|00001760| 27 74 20 64 72 61 77 20 | 74 6f 6f 20 6c 61 72 67 |'t draw |too larg|
|00001770| 65 20 70 6f 6c 79 67 6f | 6e 73 2e 0d 0a 09 43 61 |e polygo|ns....Ca|
|00001780| 6c 6c 20 40 69 6e 69 74 | 67 6f 72 61 75 64 20 6f |ll @init|goraud o|
|00001790| 6e 63 65 20 62 65 66 6f | 72 65 20 75 73 69 6e 67 |nce befo|re using|
|000017a0| 20 74 68 69 73 20 6f 6e | 65 21 0d 0a 5c 5c 0d 0a | this on|e!..\\..|
|000017b0| 20 49 6e 09 61 31 2e 6c | 3d 73 63 72 65 65 6e 20 | In.a1.l|=screen |
|000017c0| 61 64 64 72 65 73 73 5c | 5c 0d 0a 09 61 32 2e 6c |address\|\...a2.l|
|000017d0| 3d 61 64 72 20 74 6f 20 | 63 6f 6c 6f 75 72 20 74 |=adr to |colour t|
|000017e0| 61 62 6c 65 5c 5c 0d 0a | 09 6e 65 77 5c 5f 63 72 |able\\..|.new\_cr|
|000017f0| 64 73 3d 66 6f 6c 6c 6f | 77 69 6e 67 20 74 61 62 |ds=follo|wing tab|
|00001800| 6c 65 3a 20 5b 78 2c 79 | 2c 69 5d 2a 6e 62 72 5c |le: [x,y|,i]*nbr\|
|00001810| 5f 6f 66 5c 5f 70 6f 69 | 6e 74 73 5c 5c 0d 0a 09 |_of\_poi|nts\\...|
|00001820| 64 36 2e 77 3d 6e 62 72 | 2e 20 6f 66 20 70 6f 69 |d6.w=nbr|. of poi|
|00001830| 6e 74 73 5c 5c 0d 0a 09 | 78 72 65 73 20 65 71 75 |nts\\...|xres equ|
|00001840| 20 68 6f 72 69 7a 6f 6e | 74 61 6c 20 72 65 73 6f | horizon|tal reso|
|00001850| 6c 75 74 69 6f 6e 0d 0a | 09 28 64 65 73 74 72 6f |lution..|.(destro|
|00001860| 79 73 20 61 20 6c 6f 74 | 29 0d 0a 20 65 78 2e 09 |ys a lot|).. ex..|
|00001870| 20 78 72 65 73 20 65 71 | 75 20 33 38 34 20 3b 20 | xres eq|u 384 ; |
|00001880| 6f 76 65 72 73 63 61 6e | 65 64 20 6c 6f 77 72 65 |overscan|ed lowre|
|00001890| 73 20 73 63 72 65 65 6e | 5c 5c 0d 0a 09 20 62 73 |s screen|\\... bs|
|000018a0| 72 20 40 69 6e 69 74 67 | 6f 72 61 75 64 20 3b 20 |r @initg|oraud ; |
|000018b0| 63 61 6c 6c 20 6f 6e 63 | 65 20 6f 6e 6c 79 5c 5c |call onc|e only\\|
|000018c0| 0d 0a 09 20 6d 6f 76 65 | 2e 6c 20 73 63 72 61 64 |... move|.l scrad|
|000018d0| 72 2c 61 31 20 3b 20 73 | 63 72 65 65 6e 61 64 64 |r,a1 ; s|creenadd|
|000018e0| 72 65 73 73 5c 5c 0d 0a | 09 20 6d 6f 76 65 2e 6c |ress\\..|. move.l|
|000018f0| 20 5c 23 67 5c 5f 72 65 | 64 2c 61 32 20 3b 20 49 | \#g\_re|d,a2 ; I|
|00001900| 20 77 61 6e 74 20 61 20 | 72 65 64 20 70 6f 6c 79 | want a |red poly|
|00001910| 5c 5c 0d 0a 09 20 6d 6f | 76 65 71 20 5c 23 34 2c |\\... mo|veq \#4,|
|00001920| 64 36 20 3b 20 66 6f 75 | 72 20 70 6f 69 6e 74 73 |d6 ; fou|r points|
|00001930| 5c 5c 0d 0a 09 20 62 73 | 72 20 40 67 6f 72 61 75 |\\... bs|r @gorau|
|00001940| 64 20 3b 20 64 72 61 77 | 20 69 74 5c 5c 0d 0a 09 |d ; draw| it\\...|
|00001950| 20 6e 65 77 5c 5f 63 72 | 64 73 20 64 63 2e 77 20 | new\_cr|ds dc.w |
|00001960| 31 30 2c 31 30 2c 30 20 | 3b 20 61 20 64 61 72 6b |10,10,0 |; a dark|
|00001970| 20 70 6f 69 6e 74 5c 5c | 0d 0a 20 20 20 20 20 20 | point\\|.. |
|00001980| 20 20 20 20 09 20 20 64 | 63 2e 77 20 32 30 30 2c | . d|c.w 200,|
|00001990| 32 30 2c 5c 24 37 66 66 | 66 20 3b 20 61 20 62 72 |20,\$7ff|f ; a br|
|000019a0| 69 67 68 74 20 70 6f 69 | 6e 74 5c 5c 0d 0a 09 09 |ight poi|nt\\....|
|000019b0| 20 20 64 63 2e 77 20 31 | 34 30 2c 31 34 30 2c 5c | dc.w 1|40,140,\|
|000019c0| 24 37 66 66 66 2f 32 5c | 5c 0d 0a 09 09 20 20 64 |$7fff/2\|\.... d|
|000019d0| 63 2e 77 20 32 35 2c 35 | 30 2c 5c 24 37 66 66 66 |c.w 25,5|0,\$7fff|
|000019e0| 2f 34 0d 0a 9c 09 0d 0a | 0d 0a 09 54 68 65 20 63 |/4......|...The c|
|000019f0| 6f 6c 6f 75 72 74 61 62 | 6c 65 20 63 6f 6e 73 69 |olourtab|le consi|
|00001a00| 73 74 73 20 6f 66 20 33 | 32 20 77 6f 72 64 73 2c |sts of 3|2 words,|
|00001a10| 20 65 61 63 68 20 61 20 | 74 72 75 65 20 63 6f 6c | each a |true col|
|00001a20| 6f 75 72 20 76 61 6c 75 | 65 2e 0d 0a 09 20 77 6f |our valu|e.... wo|
|00001a30| 72 64 20 6e 72 20 30 20 | 69 73 20 74 68 65 20 64 |rd nr 0 |is the d|
|00001a40| 61 72 6b 65 73 74 20 61 | 6e 64 20 77 6f 72 64 20 |arkest a|nd word |
|00001a50| 6e 72 20 33 31 20 74 68 | 65 20 62 72 69 67 68 74 |nr 31 th|e bright|
|00001a60| 65 73 74 2e 20 54 68 69 | 73 20 69 73 0d 0a 09 20 |est. Thi|s is... |
|00001a70| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 31 36 20 65 |followed| by 16 e|
|00001a80| 6d 70 74 79 20 77 6f 72 | 64 73 2e 0d 0a 09 53 75 |mpty wor|ds....Su|
|00001a90| 70 70 6c 69 65 64 20 63 | 6f 6c 6f 75 72 73 3a 20 |pplied c|olours: |
|00001aa0| 67 5c 5f 6c 69 67 68 74 | 72 65 64 2c 20 67 5c 5f |g\_light|red, g\_|
|00001ab0| 67 72 65 65 6e 2c 20 67 | 5c 5f 62 72 6f 77 6e 2c |green, g|\_brown,|
|00001ac0| 20 67 5c 5f 77 68 69 74 | 65 0d 0a 09 6e 65 77 5c | g\_whit|e...new\|
|00001ad0| 5f 63 72 64 73 20 69 73 | 20 61 20 74 61 62 6c 65 |_crds is| a table|
|00001ae0| 20 74 68 61 74 20 63 6f | 6e 73 69 73 74 20 6f 66 | that co|nsist of|
|00001af0| 20 61 20 70 61 69 72 20 | 6f 66 20 63 6f 6f 72 64 | a pair |of coord|
|00001b00| 69 6e 61 74 65 73 20 66 | 6f 6c 6c 6f 77 65 64 0d |inates f|ollowed.|
|00001b10| 0a 09 20 62 79 20 61 20 | 62 72 69 67 68 74 6e 65 |.. by a |brightne|
|00001b20| 73 20 66 61 63 74 6f 72 | 2e 20 54 68 65 20 62 72 |s factor|. The br|
|00001b30| 69 67 68 74 6e 65 73 20 | 66 61 63 74 6f 72 20 69 |ightnes |factor i|
|00001b40| 73 20 61 20 6e 75 6d 62 | 65 72 20 62 65 74 77 65 |s a numb|er betwe|
|00001b50| 65 6e 20 30 0d 0a 09 20 | 61 6e 64 20 5c 23 5c 24 |en 0... |and \#\$|
|00001b60| 37 66 66 66 2e 0d 0a 5c | 5c 5c 5c 0d 0a 5c 72 6f |7fff...\|\\\..\ro|
|00001b70| 75 74 0d 0a 09 40 69 6e | 69 74 67 6f 72 61 75 64 |ut...@in|itgoraud|
|00001b80| 0d 0a 09 20 54 68 69 73 | 20 73 75 62 72 6f 75 74 |... This| subrout|
|00001b90| 69 6e 65 20 6d 75 73 74 | 20 62 65 20 63 61 6c 6c |ine must| be call|
|00001ba0| 65 64 20 6f 6e 63 65 20 | 62 65 66 6f 72 65 20 75 |ed once |before u|
|00001bb0| 73 69 6e 67 20 40 67 6f | 72 61 75 64 2e 0d 0a 09 |sing @go|raud....|
|00001bc0| 20 28 64 65 73 74 72 6f | 79 73 20 61 20 6c 6f 74 | (destro|ys a lot|
|00001bd0| 29 0d 0a 0d 0a 5c 66 69 | 6c 65 0d 0a 20 48 6c 69 |)....\fi|le.. Hli|
|00001be0| 6e 65 31 2e 53 0d 0a 5c | 72 6f 75 74 69 6e 65 78 |ne1.S..\|routinex|
|00001bf0| 0d 0a 09 40 64 72 61 77 | 68 6c 69 6e 65 31 0d 0a |...@draw|hline1..|
|00001c00| 09 44 72 61 77 73 20 61 | 20 68 6f 72 69 7a 6f 6e |.Draws a| horizon|
|00001c10| 74 61 6c 20 6c 69 6e 65 | 20 69 6e 20 38 20 62 69 |tal line| in 8 bi|
|00001c20| 74 70 6c 61 6e 65 20 6d | 6f 64 65 2e 20 43 6c 69 |tplane m|ode. Cli|
|00001c30| 70 70 69 6e 67 20 69 73 | 20 69 6d 70 6c 65 6d 65 |pping is| impleme|
|00001c40| 6e 74 65 64 2e 0d 0a 09 | 54 68 69 73 20 72 6f 75 |nted....|This rou|
|00001c50| 74 69 6e 65 20 6f 6e 6c | 79 20 75 73 65 73 20 74 |tine onl|y uses t|
|00001c60| 68 65 20 73 69 78 20 66 | 69 72 73 74 20 62 69 74 |he six f|irst bit|
|00001c70| 70 6c 61 6e 65 73 2e 0d | 0a 20 49 6e 09 61 30 2e |planes..|. In.a0.|
|00001c80| 6c 3d 73 63 72 65 65 6e | 61 64 72 20 5c 5c 20 64 |l=screen|adr \\ d|
|00001c90| 30 3d 78 6d 69 6e 20 5c | 5c 20 64 31 3d 78 6d 61 |0=xmin \|\ d1=xma|
|00001ca0| 78 20 5c 5c 0d 0a 09 64 | 32 2e 6c 2d 2d 64 34 2e |x \\...d|2.l--d4.|
|00001cb0| 6c 20 3d 36 20 62 69 74 | 70 6c 61 6e 65 73 20 5c |l =6 bit|planes \|
|00001cc0| 5c 0d 0a 09 78 72 65 73 | 20 65 71 75 20 20 68 6f |\...xres| equ ho|
|00001cd0| 72 69 7a 6f 6e 74 61 6c | 20 73 63 72 65 65 6e 20 |rizontal| screen |
|00001ce0| 72 65 73 6f 6c 75 74 69 | 6f 6e 0d 0a 09 28 64 65 |resoluti|on...(de|
|00001cf0| 73 74 72 6f 79 73 20 64 | 30 2d 2d 64 37 2f 61 30 |stroys d|0--d7/a0|
|00001d00| 2d 2d 61 31 29 0d 0a 20 | 65 78 2e 09 20 6d 6f 76 |--a1).. |ex.. mov|
|00001d10| 65 2e 6c 09 73 63 72 65 | 65 6e 2b 78 72 65 73 2a |e.l.scre|en+xres*|
|00001d20| 35 30 2c 61 30 20 3b 20 | 79 70 6f 73 3d 35 30 5c |50,a0 ; |ypos=50\|
|00001d30| 5c 0d 0a 09 20 6d 6f 76 | 65 20 5c 23 2d 33 34 2c |\... mov|e \#-34,|
|00001d40| 64 30 09 09 6c 65 66 74 | 20 78 63 6f 72 64 5c 5c |d0..left| xcord\\|
|00001d50| 0d 0a 09 20 6d 6f 76 65 | 20 5c 23 36 37 2c 64 31 |... move| \#67,d1|
|00001d60| 09 09 72 69 67 68 74 20 | 78 63 6f 72 64 5c 5c 0d |..right |xcord\\.|
|00001d70| 0a 09 20 6d 6f 76 65 2e | 6c 20 5c 23 5c 24 30 2c |.. move.|l \#\$0,|
|00001d80| 64 32 09 09 64 6f 6e 27 | 74 20 73 65 74 20 62 69 |d2..don'|t set bi|
|00001d90| 74 70 6c 61 6e 65 20 30 | 20 6f 72 20 31 5c 5c 0d |tplane 0| or 1\\.|
|00001da0| 0a 09 20 6d 6f 76 65 2e | 6c 09 5c 23 5c 24 30 30 |.. move.|l.\#\$00|
|00001db0| 30 30 66 66 66 66 2c 64 | 33 09 73 65 74 20 62 69 |00ffff,d|3.set bi|
|00001dc0| 74 70 6c 61 6e 65 20 33 | 5c 5c 0d 0a 09 20 6d 6f |tplane 3|\\... mo|
|00001dd0| 76 65 2e 6c 09 5c 23 5c | 24 66 66 66 66 66 66 66 |ve.l.\#\|$fffffff|
|00001de0| 66 2c 64 34 09 73 65 74 | 20 62 69 74 70 6c 61 6e |f,d4.set| bitplan|
|00001df0| 65 20 34 20 61 6e 64 20 | 35 5c 5c 0d 0a 09 20 62 |e 4 and |5\\... b|
|00001e00| 73 72 20 40 64 72 61 77 | 68 6c 69 6e 65 31 0d 0a |sr @draw|hline1..|
|00001e10| 9c 0d 0a 0d 0a 5c 66 69 | 6c 65 0d 0a 20 49 63 65 |.....\fi|le.. Ice|
|00001e20| 2e 53 0d 0a 5c 72 6f 75 | 74 69 6e 0d 0a 09 40 69 |.S..\rou|tin...@i|
|00001e30| 63 65 64 65 63 72 75 6e | 63 68 0d 0a 09 43 68 65 |cedecrun|ch...Che|
|00001e40| 63 6b 73 20 69 66 20 74 | 68 65 20 64 61 74 61 20 |cks if t|he data |
|00001e50| 69 73 20 69 63 65 70 61 | 63 6b 65 64 20 61 6e 64 |is icepa|cked and|
|00001e60| 20 70 6f 73 73 69 62 6c | 79 20 75 6e 70 61 63 6b | possibl|y unpack|
|00001e70| 73 20 69 74 2e 0d 0a 20 | 49 6e 09 61 30 2e 6c 3d |s it... |In.a0.l=|
|00001e80| 44 61 74 61 20 61 64 72 | 2e 0d 0a 09 28 64 65 73 |Data adr|....(des|
|00001e90| 74 72 6f 79 73 20 6e 6f | 74 68 69 6e 67 29 0d 0a |troys no|thing)..|
|00001ea0| 0d 0a 5c 66 69 6c 65 0d | 0a 20 4c 6f 61 64 66 69 |..\file.|. Loadfi|
|00001eb0| 6c 65 2e 53 0d 0a 5c 72 | 6f 75 74 69 6e 0d 0a 09 |le.S..\r|outin...|
|00001ec0| 40 6c 6f 61 64 66 69 6c | 65 0d 0a 09 4c 6f 61 64 |@loadfil|e...Load|
|00001ed0| 73 20 61 20 66 69 6c 65 | 20 61 6e 64 20 70 6f 73 |s a file| and pos|
|00001ee0| 73 69 62 6c 79 20 75 6e | 70 61 63 6b 73 20 69 74 |sibly un|packs it|
|00001ef0| 20 28 69 63 65 20 32 2e | 34 30 29 2e 0d 0a 20 49 | (ice 2.|40)... I|
|00001f00| 6e 09 61 35 2e 6c 3d 61 | 64 72 2e 20 74 6f 20 61 |n.a5.l=a|dr. to a|
|00001f10| 20 66 69 6c 65 6e 61 6d | 65 20 74 65 72 6d 69 6e | filenam|e termin|
|00001f20| 61 74 65 64 20 62 79 20 | 7a 65 72 6f 5c 5c 0d 0a |ated by |zero\\..|
|00001f30| 09 61 36 2e 6c 3d 64 65 | 73 74 2e 5c 5c 0d 0a 09 |.a6.l=de|st.\\...|
|00001f40| 64 37 2e 6c 3d 66 69 6c | 65 6c 65 6e 67 74 68 0d |d7.l=fil|elength.|
|00001f50| 0a 09 28 64 65 73 74 72 | 6f 79 73 20 61 20 6c 6f |..(destr|oys a lo|
|00001f60| 74 29 0d 0a 09 0d 0a 0d | 0a 5c 66 69 6c 65 0d 0a |t)......|.\file..|
|00001f70| 20 52 65 6c 65 61 73 65 | 6d 2e 53 0d 0a 0d 0a 09 | Release|m.S.....|
|00001f80| 54 68 69 73 20 72 6f 75 | 74 69 6e 65 20 72 65 6c |This rou|tine rel|
|00001f90| 65 61 73 65 73 20 61 6c | 6c 20 6d 65 6d 6f 72 79 |eases al|l memory|
|00001fa0| 20 6e 6f 74 20 6e 65 65 | 64 65 64 20 62 79 20 74 | not nee|ded by t|
|00001fb0| 68 65 20 70 72 6f 67 72 | 61 6d 2e 0d 0a 09 49 6e |he progr|am....In|
|00001fc0| 63 6c 75 64 65 20 74 68 | 69 73 20 72 6f 75 74 20 |clude th|is rout |
|00001fd0| 61 74 20 74 68 65 20 74 | 6f 70 20 6f 66 20 79 6f |at the t|op of yo|
|00001fe0| 75 72 20 70 72 6f 67 72 | 61 6d 20 61 6e 64 20 74 |ur progr|am and t|
|00001ff0| 68 65 20 6d 65 6d 6f 72 | 79 0d 0a 09 77 69 6c 6c |he memor|y...will|
|00002000| 20 62 65 20 72 65 6c 65 | 73 65 64 20 70 72 6f 70 | be rele|sed prop|
|00002010| 65 72 6c 79 2e 0d 0a 5c | 65 78 0d 0a 20 65 78 2e |erly...\|ex.. ex.|
|00002020| 09 69 6e 63 6c 75 64 65 | 09 72 65 6c 65 61 73 65 |.include|.release|
|00002030| 6d 2e 73 20 3b 20 72 65 | 6c 65 61 73 65 20 75 6e |m.s ; re|lease un|
|00002040| 75 73 65 64 20 6d 65 6d | 6f 72 79 2c 20 74 68 69 |used mem|ory, thi|
|00002050| 73 20 69 73 20 6c 69 6e | 65 20 6e 72 20 31 20 6f |s is lin|e nr 1 o|
|00002060| 66 20 74 68 65 0d 0a 70 | 72 6f 67 72 61 6d 20 9c |f the..p|rogram .|
|00002070| 0d 0a 0d 0a 0d 0a 5c 66 | 69 6c 65 0d 0a 20 53 61 |......\f|ile.. Sa|
|00002080| 76 65 66 69 6c 65 2e 53 | 0d 0a 5c 72 6f 75 74 69 |vefile.S|..\routi|
|00002090| 6e 0d 0a 09 40 73 61 76 | 65 66 69 6c 65 0d 0a 09 |n...@sav|efile...|
|000020a0| 53 61 76 65 73 20 64 61 | 74 61 20 61 73 20 61 20 |Saves da|ta as a |
|000020b0| 66 69 6c 65 2e 0d 0a 20 | 49 6e 09 61 35 2e 6c 3d |file... |In.a5.l=|
|000020c0| 61 64 72 2e 20 74 69 6c | 6c 20 6e 6f 6c 6c 61 76 |adr. til|l nollav|
|000020d0| 73 6c 75 74 61 74 20 66 | 69 6c 6e 61 6d 6e 5c 5c |slutat f|ilnamn\\|
|000020e0| 0d 0a 09 61 36 2e 6c 3d | 73 6f 75 72 63 65 5c 5c |...a6.l=|source\\|
|000020f0| 0d 0a 09 64 37 2e 6c 3d | 66 69 6c 6c 84 6e 67 64 |...d7.l=|fill.ngd|
|00002100| 0d 0a 09 28 64 65 73 74 | 72 6f 79 73 20 61 20 6c |...(dest|roys a l|
|00002110| 6f 74 29 0d 0a 0d 0a 0d | 0a 5c 66 69 6c 65 0d 0a |ot).....|.\file..|
|00002120| 20 53 65 74 66 76 2e 53 | 0d 0a 5c 72 6f 75 74 69 | Setfv.S|..\routi|
|00002130| 6e 6f 75 74 0d 0a 09 40 | 73 65 74 66 76 0d 0a 09 |nout...@|setfv...|
|00002140| 20 53 65 74 73 20 74 68 | 65 20 66 61 6c 63 6f 6e | Sets th|e falcon|
|00002150| 20 76 69 64 65 6f 20 72 | 65 67 69 73 74 65 72 73 | video r|egisters|
|00002160| 2e 20 54 68 65 20 64 61 | 74 61 20 74 68 61 74 20 |. The da|ta that |
|00002170| 69 73 0d 0a 09 20 77 72 | 69 74 74 65 6e 20 74 6f |is... wr|itten to|
|00002180| 20 74 68 65 20 76 69 64 | 65 6f 20 72 65 67 69 73 | the vid|eo regis|
|00002190| 74 65 72 73 20 6d 75 73 | 74 20 62 65 20 61 20 2e |ters mus|t be a .|
|000021a0| 46 56 20 28 46 61 6c 63 | 6f 6e 20 56 69 64 65 6f |FV (Falc|on Video|
|000021b0| 29 0d 0a 09 20 66 69 6c | 65 2e 20 53 75 70 65 72 |)... fil|e. Super|
|000021c0| 76 69 73 6f 72 20 6f 6e | 6c 79 2e 20 54 68 65 20 |visor on|ly. The |
|000021d0| 61 64 76 61 6e 74 61 67 | 65 73 20 6f 66 20 75 73 |advantag|es of us|
|000021e0| 69 6e 67 20 74 68 69 73 | 20 69 6e 73 74 65 61 64 |ing this| instead|
|000021f0| 20 6f 66 20 0d 0a 09 20 | 7b 5c 62 66 20 40 73 65 | of ... |{\bf @se|
|00002200| 74 76 69 64 65 6f 7d 20 | 69 73 20 74 68 61 74 20 |tvideo} |is that |
|00002210| 74 68 69 73 20 6f 6e 65 | 20 77 69 6c 6c 20 77 6f |this one| will wo|
|00002220| 72 6b 20 77 69 74 68 20 | 73 63 72 65 65 6e 20 65 |rk with |screen e|
|00002230| 6e 68 61 6e 63 65 72 73 | 0d 0a 09 20 6c 69 6b 65 |nhancers|... like|
|00002240| 20 73 63 72 65 65 6e 62 | 6c 61 73 74 65 72 2c 20 | screenb|laster, |
|00002250| 7b 5c 62 66 20 40 73 65 | 74 76 69 64 65 6f 7d 20 |{\bf @se|tvideo} |
|00002260| 77 6f 6e 27 74 20 61 6e | 64 20 62 79 20 75 73 69 |won't an|d by usi|
|00002270| 6e 67 20 2e 46 56 20 66 | 69 6c 65 73 0d 0a 09 20 |ng .FV f|iles... |
|00002280| 69 74 27 73 20 61 6c 73 | 6f 20 70 6f 73 73 69 62 |it's als|o possib|
|00002290| 6c 65 20 74 6f 20 67 65 | 74 20 68 69 67 68 65 72 |le to ge|t higher|
|000022a0| 20 72 65 73 6f 6c 75 74 | 69 6f 6e 73 2e 0d 0a 20 | resolut|ions... |
|000022b0| 49 6e 09 20 61 30 2e 6c | 3d 61 64 72 2e 20 74 6f |In. a0.l|=adr. to|
|000022c0| 20 46 61 6c 63 6f 6e 20 | 56 69 64 65 6f 20 64 61 | Falcon |Video da|
|000022d0| 74 61 0d 0a 20 4f 75 74 | 09 20 64 30 2e 6c 3a 20 |ta.. Out|. d0.l: |
|000022e0| 30 3d 6e 6f 20 65 72 72 | 6f 72 20 20 2d 31 3d 65 |0=no err|or -1=e|
|000022f0| 72 72 6f 72 2c 20 6e 6f | 20 2e 46 56 20 64 61 74 |rror, no| .FV dat|
|00002300| 61 0d 0a 09 20 28 64 65 | 73 74 72 6f 79 73 20 64 |a... (de|stroys d|
|00002310| 30 2d 2d 64 32 2f 61 30 | 2d 2d 61 32 29 0d 0a 5c |0--d2/a0|--a2)..\|
|00002320| 5c 0d 0a 5c 72 6f 75 74 | 0d 0a 09 40 73 61 76 65 |\..\rout|...@save|
|00002330| 66 76 0d 0a 09 20 53 61 | 76 65 73 20 74 68 65 20 |fv... Sa|ves the |
|00002340| 66 61 6c 63 6f 6e 20 76 | 69 64 65 6f 20 72 65 67 |falcon v|ideo reg|
|00002350| 69 73 74 65 72 73 20 74 | 6f 20 6d 65 6d 6f 72 79 |isters t|o memory|
|00002360| 2e 20 53 75 70 65 72 76 | 69 73 6f 72 20 6f 6e 6c |. Superv|isor onl|
|00002370| 79 2e 0d 0a 09 20 28 64 | 65 73 74 72 6f 79 73 20 |y.... (d|estroys |
|00002380| 61 30 2d 2d 61 31 29 0d | 0a 5c 5c 0d 0a 5c 72 6f |a0--a1).|.\\..\ro|
|00002390| 75 74 0d 0a 09 40 72 65 | 73 6f 72 65 66 76 0d 0a |ut...@re|sorefv..|
|000023a0| 09 20 52 65 73 74 6f 72 | 65 73 20 74 68 65 20 73 |. Restor|es the s|
|000023b0| 61 76 65 64 20 66 61 6c | 63 6f 6e 20 76 69 64 65 |aved fal|con vide|
|000023c0| 6f 20 72 65 67 69 73 74 | 65 72 73 2e 20 53 75 70 |o regist|ers. Sup|
|000023d0| 65 72 76 69 73 6f 72 20 | 6f 6e 6c 79 2e 0d 0a 09 |ervisor |only....|
|000023e0| 20 28 64 65 73 74 72 6f | 79 73 20 64 30 2d 2d 64 | (destro|ys d0--d|
|000023f0| 32 2f 61 30 2d 2d 61 32 | 29 0d 0a 0d 0a 5c 66 69 |2/a0--a2|)....\fi|
|00002400| 6c 65 0d 0a 20 53 65 74 | 76 69 64 65 6f 2e 53 0d |le.. Set|video.S.|
|00002410| 0a 5c 72 6f 75 74 69 6e | 65 78 0d 0a 09 40 73 65 |.\routin|ex...@se|
|00002420| 74 76 69 64 65 6f 0d 0a | 09 20 53 61 76 65 20 61 |tvideo..|. Save a|
|00002430| 6e 64 20 73 65 74 20 72 | 65 73 6f 6c 75 74 69 6f |nd set r|esolutio|
|00002440| 6e 2e 0d 0a 20 49 6e 09 | 20 64 37 2e 77 3d 6d 6f |n... In.| d7.w=mo|
|00002450| 64 65 5c 5c 0d 0a 20 20 | 6d 6f 64 65 65 71 75 61 |de\\.. |modeequa|
|00002460| 74 65 73 3a 20 76 65 72 | 74 66 6c 61 67 2c 20 73 |tes: ver|tflag, s|
|00002470| 74 6d 6f 64 65 73 2c 20 | 6f 76 65 72 73 63 61 6e |tmodes, |overscan|
|00002480| 2c 20 70 61 6c 2c 20 76 | 67 61 2c 20 63 6f 6c 38 |, pal, v|ga, col8|
|00002490| 30 2c 20 62 70 73 31 2d | 2d 31 36 0d 0a 09 20 28 |0, bps1-|-16... (|
|000024a0| 78 62 69 6f 73 2c 20 64 | 65 73 74 72 6f 79 73 20 |xbios, d|estroys |
|000024b0| 64 30 2d 2d 64 32 2f 61 | 30 2d 2d 61 32 29 0d 0a |d0--d2/a|0--a2)..|
|000024c0| 20 65 78 2e 09 20 6d 6f | 76 65 20 5c 23 70 61 6c | ex.. mo|ve \#pal|
|000024d0| 2b 62 70 73 31 36 2c 64 | 37 5c 5c 0d 0a 09 20 62 |+bps16,d|7\\... b|
|000024e0| 73 72 20 40 73 65 74 76 | 69 64 65 6f 20 9c 0d 0a |sr @setv|ideo ...|
|000024f0| 5c 5c 0d 0a 5c 72 6f 75 | 74 0d 0a 09 40 72 65 73 |\\..\rou|t...@res|
|00002500| 74 6f 72 65 76 69 64 65 | 6f 0d 0a 09 20 52 65 73 |torevide|o... Res|
|00002510| 74 6f 72 65 73 20 74 68 | 65 20 73 61 76 65 64 20 |tores th|e saved |
|00002520| 72 65 73 6f 6c 75 74 69 | 6f 6e 2e 0d 0a 09 20 28 |resoluti|on.... (|
|00002530| 78 62 69 6f 73 2c 20 64 | 65 73 74 72 6f 79 73 20 |xbios, d|estroys |
|00002540| 64 30 2d 2d 64 32 2f 61 | 30 2d 2d 61 32 29 0d 0a |d0--d2/a|0--a2)..|
|00002550| 5c 5c 0d 0a 5c 72 6f 75 | 74 69 6e 0d 0a 09 40 73 |\\..\rou|tin...@s|
|00002560| 65 74 76 61 64 72 0d 0a | 09 20 53 65 74 73 20 74 |etvadr..|. Sets t|
|00002570| 68 65 20 70 68 79 73 69 | 63 61 6c 20 61 6e 64 20 |he physi|cal and |
|00002580| 6c 6f 67 69 63 61 6c 20 | 73 63 72 65 65 6e 61 64 |logical |screenad|
|00002590| 64 72 65 73 73 2e 0d 0a | 20 49 6e 09 20 64 30 2e |dress...| In. d0.|
|000025a0| 6c 3d 73 63 72 65 65 6e | 61 64 72 2e 0d 0a 09 20 |l=screen|adr.... |
|000025b0| 28 78 62 69 6f 73 2c 20 | 64 65 73 74 72 6f 79 73 |(xbios, |destroys|
|000025c0| 20 64 30 2d 2d 64 32 2f | 61 30 2d 2d 61 32 29 0d | d0--d2/|a0--a2).|
|000025d0| 0a 5c 5c 0d 0a 5c 72 6f | 75 74 0d 0a 09 40 73 61 |.\\..\ro|ut...@sa|
|000025e0| 76 65 76 61 64 72 0d 0a | 09 20 53 61 76 65 73 20 |vevadr..|. Saves |
|000025f0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 73 63 72 65 |the curr|ent scre|
|00002600| 65 6e 61 64 72 2e 0d 0a | 09 20 28 78 62 69 6f 73 |enadr...|. (xbios|
|00002610| 2c 20 64 65 73 74 72 6f | 79 73 20 64 30 2d 2d 64 |, destro|ys d0--d|
|00002620| 32 2f 61 30 2d 2d 61 32 | 29 0d 0a 5c 5c 0d 0a 5c |2/a0--a2|)..\\..\|
|00002630| 72 6f 75 74 0d 0a 09 40 | 72 65 73 74 6f 72 65 76 |rout...@|restorev|
|00002640| 61 64 72 0d 0a 09 20 52 | 65 73 74 6f 72 65 73 20 |adr... R|estores |
|00002650| 74 68 65 20 73 61 76 65 | 64 20 73 63 72 65 65 6e |the save|d screen|
|00002660| 61 64 72 2e 0d 0a 09 20 | 28 78 62 69 6f 73 2c 20 |adr.... |(xbios, |
|00002670| 64 65 73 74 72 6f 79 73 | 20 64 30 2d 2d 64 32 2f |destroys| d0--d2/|
|00002680| 61 30 2d 2d 61 32 29 0d | 0a 0d 0a 0d 0a 5c 66 69 |a0--a2).|.....\fi|
|00002690| 6c 65 0d 0a 20 53 68 72 | 74 6f 6e 65 73 2e 53 0d |le.. Shr|tones.S.|
|000026a0| 0a 5c 72 6f 75 74 0d 0a | 09 40 73 75 70 65 72 0d |.\rout..|.@super.|
|000026b0| 0a 09 20 65 6e 74 65 72 | 20 73 75 70 65 72 76 69 |.. enter| supervi|
|000026c0| 73 6f 72 20 6d 6f 64 65 | 20 20 28 67 65 6d 64 6f |sor mode| (gemdo|
|000026d0| 73 20 5c 24 32 30 2c 20 | 64 65 73 74 72 6f 79 73 |s \$20, |destroys|
|000026e0| 20 64 30 2d 64 31 2f 61 | 30 2d 61 31 29 0d 0a 09 | d0-d1/a|0-a1)...|
|000026f0| 20 5c 5c 0d 0a 5c 72 6f | 75 74 0d 0a 09 40 75 73 | \\..\ro|ut...@us|
|00002700| 65 72 0d 0a 09 20 72 65 | 74 75 72 6e 73 20 74 6f |er... re|turns to|
|00002710| 20 75 73 65 72 20 6d 6f | 64 65 20 20 28 67 65 6d | user mo|de (gem|
|00002720| 64 6f 73 20 5c 24 32 30 | 2c 20 64 65 73 74 72 6f |dos \$20|, destro|
|00002730| 79 73 20 64 30 2d 64 31 | 2f 61 30 2d 61 31 29 0d |ys d0-d1|/a0-a1).|
|00002740| 0a 09 20 5c 5c 0d 0a 5c | 72 6f 75 74 0d 0a 09 40 |.. \\..\|rout...@|
|00002750| 77 61 69 74 76 62 6c 0d | 0a 09 20 77 61 69 74 73 |waitvbl.|.. waits|
|00002760| 20 66 6f 72 20 61 20 76 | 65 72 74 69 63 61 6c 20 | for a v|ertical |
|00002770| 62 6c 61 6e 6b 20 20 28 | 78 62 69 6f 73 20 5c 23 |blank (|xbios \#|
|00002780| 33 37 2c 20 64 65 73 74 | 72 6f 79 73 20 64 30 2d |37, dest|roys d0-|
|00002790| 64 32 2f 61 30 2d 61 32 | 29 0d 0a 09 20 5c 5c 0d |d2/a0-a2|)... \\.|
|000027a0| 0a 5c 72 6f 75 74 6f 75 | 74 0d 0a 09 40 77 61 69 |.\routou|t...@wai|
|000027b0| 74 6b 65 79 0d 0a 09 20 | 77 61 69 74 73 20 66 6f |tkey... |waits fo|
|000027c0| 72 20 61 20 6b 65 79 70 | 72 65 73 73 2c 20 6e 6f |r a keyp|ress, no|
|000027d0| 20 65 63 68 6f 20 0d 0a | 20 4f 75 74 09 20 64 30 | echo ..| Out. d0|
|000027e0| 2e 62 3d 61 73 63 69 69 | 20 76 61 6c 75 65 0d 0a |.b=ascii| value..|
|000027f0| 20 20 28 67 65 6d 64 6f | 73 20 5c 23 37 2c 20 64 | (gemdo|s \#7, d|
|00002800| 65 73 74 72 6f 79 73 20 | 61 30 29 0d 0a 20 20 5c |estroys |a0).. \|
|00002810| 5c 0d 0a 5c 72 6f 75 74 | 0d 0a 09 40 65 78 69 74 |\..\rout|...@exit|
|00002820| 69 66 6b 65 79 0d 0a 09 | 20 71 75 69 74 73 20 69 |ifkey...| quits i|
|00002830| 66 20 61 20 6b 65 79 20 | 68 61 73 20 62 65 65 6e |f a key |has been|
|00002840| 20 70 72 65 73 73 65 64 | 0d 0a 09 20 28 67 65 6d | pressed|... (gem|
|00002850| 64 6f 73 20 5c 23 31 31 | 2c 5c 23 37 2c 5c 23 30 |dos \#11|,\#7,\#0|
|00002860| 2c 20 64 65 73 74 72 6f | 79 73 20 61 30 29 0d 0a |, destro|ys a0)..|
|00002870| 5c 5c 0d 0a 5c 72 6f 75 | 74 0d 0a 09 40 71 75 69 |\\..\rou|t...@qui|
|00002880| 74 0d 0a 09 20 74 65 72 | 6d 69 6e 61 74 65 20 70 |t... ter|minate p|
|00002890| 72 6f 63 65 73 73 20 20 | 28 67 65 6d 64 6f 73 20 |rocess |(gemdos |
|000028a0| 5c 23 30 29 0d 0a 5c 5c | 0d 0a 5c 72 6f 75 74 69 |\#0)..\\|..\routi|
|000028b0| 6e 0d 0a 09 40 70 72 69 | 6e 74 0d 0a 09 20 70 72 |n...@pri|nt... pr|
|000028c0| 69 6e 74 73 20 61 20 73 | 74 72 69 6e 67 20 6f 6e |ints a s|tring on|
|000028d0| 20 74 68 65 20 73 63 72 | 65 65 6e 2e 20 20 0d 0a | the scr|een. ..|
|000028e0| 20 49 6e 09 20 61 30 2e | 6c 3d 61 64 64 72 65 73 | In. a0.|l=addres|
|000028f0| 73 20 74 6f 20 61 20 6e | 75 6c 6c 20 74 65 72 6d |s to a n|ull term|
|00002900| 69 6e 61 74 65 64 20 61 | 73 63 69 69 20 73 74 72 |inated a|scii str|
|00002910| 69 6e 67 0d 0a 09 28 67 | 65 6d 64 6f 73 20 5c 23 |ing...(g|emdos \#|
|00002920| 39 2c 20 64 65 73 74 72 | 6f 79 73 20 61 30 29 0d |9, destr|oys a0).|
|00002930| 0a 0d 0a 5c 66 69 6c 65 | 0d 0a 20 54 69 6d 65 72 |...\file|.. Timer|
|00002940| 2e 53 0d 0a 5c 6d 61 63 | 72 6f 69 6e 0d 0a 09 40 |.S..\mac|roin...@|
|00002950| 63 6f 6c 6f 75 72 20 20 | 6d 61 63 72 6f 0d 0a 09 |colour |macro...|
|00002960| 20 73 65 74 73 20 62 61 | 63 6b 72 6f 75 6e 64 20 | sets ba|ckround |
|00002970| 63 6f 6c 6f 75 72 20 74 | 6f 20 76 61 6c 75 65 2e |colour t|o value.|
|00002980| 20 53 75 70 65 72 76 69 | 73 6f 72 20 6f 6e 6c 79 | Supervi|sor only|
|00002990| 21 0d 0a 20 49 6e 20 76 | 61 6c 75 65 2e 6c 0d 0a |!.. In v|alue.l..|
|000029a0| 09 20 28 64 65 73 74 72 | 6f 79 73 20 6e 6f 74 68 |. (destr|oys noth|
|000029b0| 69 6e 67 29 0d 0a 0d 0a | 5c 66 69 6c 65 0d 0a 20 |ing)....|\file.. |
|000029c0| 54 72 69 67 2e 53 0d 0a | 0d 0a 09 41 6c 6c 20 72 |Trig.S..|...All r|
|000029d0| 65 73 75 6c 74 73 20 61 | 72 65 20 74 61 6b 65 6e |esults a|re taken|
|000029e0| 20 66 72 6f 6d 20 61 20 | 31 34 34 30 20 65 6e 74 | from a |1440 ent|
|000029f0| 72 69 65 73 20 6c 61 72 | 67 65 20 6c 6f 6f 6b 75 |ries lar|ge looku|
|00002a00| 70 20 74 61 62 6c 65 2e | 5c 5c 0d 0a 5c 5c 0d 0a |p table.|\\..\\..|
|00002a10| 5c 72 6f 75 74 69 6e 6f | 75 74 0d 0a 09 40 73 69 |\routino|ut...@si|
|00002a20| 6e 0d 0a 09 20 52 65 74 | 75 72 6e 73 20 74 68 65 |n... Ret|urns the|
|00002a30| 20 73 69 6e 65 20 6f 66 | 20 61 6e 20 61 6e 67 6c | sine of| an angl|
|00002a40| 65 2e 0d 0a 20 49 6e 09 | 20 64 30 2e 77 3d 61 6e |e... In.| d0.w=an|
|00002a50| 67 6c 65 20 69 6e 20 64 | 65 67 72 65 65 73 20 77 |gle in d|egrees w|
|00002a60| 69 74 68 20 73 69 78 20 | 64 65 63 69 6d 61 6c 20 |ith six |decimal |
|00002a70| 62 69 74 73 20 28 74 68 | 65 20 6c 65 67 61 6c 20 |bits (th|e legal |
|00002a80| 76 61 6c 75 65 73 20 61 | 72 65 0d 0a 20 09 09 30 |values a|re.. ..0|
|00002a90| 2d 5c 24 35 39 66 66 20 | 6f 72 20 30 2d 33 35 39 |-\$59ff |or 0-359|
|00002aa0| 2e 39 39 39 20 64 65 67 | 72 65 65 73 29 20 0d 0a |.999 deg|rees) ..|
|00002ab0| 20 4f 75 74 09 64 31 2e | 77 3d 73 69 6e 28 61 6e | Out.d1.|w=sin(an|
|00002ac0| 67 6c 65 29 2c 20 61 20 | 77 6f 72 64 20 77 69 74 |gle), a |word wit|
|00002ad0| 68 20 6f 6e 65 0d 0a 09 | 20 09 73 69 67 6e 20 62 |h one...| .sign b|
|00002ae0| 69 74 20 61 6e 64 20 31 | 35 20 64 65 63 69 6d 61 |it and 1|5 decima|
|00002af0| 6c 20 62 69 74 73 2e 20 | 28 64 65 73 74 72 6f 79 |l bits. |(destroy|
|00002b00| 73 20 64 30 2f 61 30 29 | 0d 0a 09 20 09 5c 5c 0d |s d0/a0)|... .\\.|
|00002b10| 0a 5c 72 6f 75 74 69 6e | 6f 75 74 65 78 0d 0a 09 |.\routin|outex...|
|00002b20| 40 63 6f 73 0d 0a 09 20 | 52 65 74 75 72 6e 73 20 |@cos... |Returns |
|00002b30| 74 68 65 20 63 6f 73 69 | 6e 65 20 6f 66 20 61 6e |the cosi|ne of an|
|00002b40| 20 61 6e 67 6c 65 2e 0d | 0a 20 49 6e 09 20 64 30 | angle..|. In. d0|
|00002b50| 2e 77 3d 61 6e 67 6c 65 | 20 69 6e 20 64 65 67 72 |.w=angle| in degr|
|00002b60| 65 65 73 20 77 69 74 68 | 20 73 69 78 20 64 65 63 |ees with| six dec|
|00002b70| 69 6d 61 6c 20 62 69 74 | 73 20 28 74 68 65 20 6c |imal bit|s (the l|
|00002b80| 65 67 61 6c 20 76 61 6c | 75 65 73 20 61 72 65 0d |egal val|ues are.|
|00002b90| 0a 20 30 2d 5c 24 35 39 | 66 66 20 6f 72 20 30 2d |. 0-\$59|ff or 0-|
|00002ba0| 33 35 39 2e 39 39 39 20 | 64 65 67 72 65 65 73 29 |359.999 |degrees)|
|00002bb0| 20 0d 0a 20 4f 75 74 20 | 64 31 2e 77 3d 73 69 6e | .. Out |d1.w=sin|
|00002bc0| 28 61 6e 67 6c 65 29 2c | 20 61 20 77 6f 72 64 20 |(angle),| a word |
|00002bd0| 77 69 74 68 20 6f 6e 65 | 0d 0a 09 20 73 69 67 6e |with one|... sign|
|00002be0| 20 62 69 74 20 61 6e 64 | 20 31 35 20 64 65 63 69 | bit and| 15 deci|
|00002bf0| 6d 61 6c 20 62 69 74 73 | 2e 20 28 64 65 73 74 72 |mal bits|. (destr|
|00002c00| 6f 79 73 20 64 30 2f 61 | 30 29 0d 0a 20 65 78 2e |oys d0/a|0).. ex.|
|00002c10| 09 6d 6f 76 65 20 5c 23 | 31 38 30 2a 36 34 2c 64 |.move \#|180*64,d|
|00002c20| 30 09 09 3b 20 6d 61 6b | 65 20 69 74 20 31 38 30 |0..; mak|e it 180|
|00002c30| 20 64 65 67 72 65 65 73 | 5c 5c 0d 0a 09 62 73 72 | degrees|\\...bsr|
|00002c40| 20 40 73 69 6e 09 09 3b | 20 64 31 20 77 69 6c 6c | @sin..;| d1 will|
|00002c50| 20 6e 6f 77 20 63 6f 6e | 74 61 69 6e 20 30 5c 5c | now con|tain 0\\|
|00002c60| 0d 0a 09 6d 6f 76 65 20 | 5c 23 31 38 30 2a 36 34 |...move |\#180*64|
|00002c70| 2c 64 30 09 09 3b 20 64 | 30 20 69 73 20 64 65 73 |,d0..; d|0 is des|
|00002c80| 74 72 6f 79 65 64 20 73 | 6f 20 77 65 20 68 61 64 |troyed s|o we had|
|00002c90| 20 62 65 74 74 65 72 20 | 65 6e 74 65 72 20 74 68 | better |enter th|
|00002ca0| 65 20 76 61 6c 75 65 0d | 0a 09 61 67 61 69 6e 5c |e value.|..again\|
|00002cb0| 5c 0d 0a 09 62 73 72 20 | 40 63 6f 73 20 3b 20 64 |\...bsr |@cos ; d|
|00002cc0| 31 20 77 69 6c 6c 20 6e | 6f 77 20 63 6f 6e 74 61 |1 will n|ow conta|
|00002cd0| 69 6e 20 2d 31 20 28 5c | 24 38 30 30 30 29 0d 0a |in -1 (\|$8000)..|
|00002ce0| 9c 0d 0a 0d 0a 0d 0a 5c | 66 69 6c 65 0d 0a 20 57 |.......\|file.. W|
|00002cf0| 69 6e 64 6f 77 2e 53 0d | 0a 20 20 28 7b 5c 73 63 |indow.S.|. ({\sc|
|00002d00| 20 56 64 69 6c 69 62 7d | 20 61 6e 64 20 7b 5c 73 | Vdilib}| and {\s|
|00002d10| 63 20 41 65 73 6c 69 62 | 7d 20 6d 75 73 74 20 62 |c Aeslib|} must b|
|00002d20| 65 20 69 6e 63 6c 75 64 | 65 64 20 61 74 20 74 68 |e includ|ed at th|
|00002d30| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 0d 0a 70 72 |e end of| the..pr|
|00002d40| 6f 67 72 61 6d 29 20 5c | 5c 5c 5c 0d 0a 5c 72 6f |ogram) \|\\\..\ro|
|00002d50| 75 74 69 6e 6f 75 74 0d | 0a 09 40 63 72 65 61 74 |utinout.|..@creat|
|00002d60| 65 77 69 6e 64 6f 77 0d | 0a 09 43 72 65 61 74 65 |ewindow.|..Create|
|00002d70| 73 20 61 6e 64 20 6f 70 | 65 6e 73 20 61 20 73 69 |s and op|ens a si|
|00002d80| 6d 70 6c 65 20 67 65 6d | 20 77 69 6e 64 6f 77 2e |mple gem| window.|
|00002d90| 0d 0a 09 54 68 65 20 73 | 69 7a 65 20 28 78 77 69 |...The s|ize (xwi|
|00002da0| 64 74 68 2c 79 77 69 64 | 74 68 29 20 69 73 20 74 |dth,ywid|th) is t|
|00002db0| 68 65 20 77 6f 72 6b 61 | 72 65 61 20 6f 66 20 74 |he worka|rea of t|
|00002dc0| 68 65 20 77 69 6e 64 6f | 77 2e 0d 0a 20 49 6e 09 |he windo|w... In.|
|00002dd0| 77 74 79 70 65 20 65 71 | 75 20 5c 25 69 6e 66 6f |wtype eq|u \%info|
|00002de0| 20 6d 6f 76 65 20 66 75 | 6c 6c 20 63 6c 6f 73 65 | move fu|ll close|
|00002df0| 20 6e 61 6d 65 5c 5c 0d | 0a 09 78 73 74 61 72 74 | name\\.|..xstart|
|00002e00| 2e 77 2c 20 79 73 74 61 | 72 74 2e 77 20 2c 78 77 |.w, ysta|rt.w ,xw|
|00002e10| 69 64 74 68 2e 77 20 2c | 79 77 69 64 74 68 2e 77 |idth.w ,|ywidth.w|
|00002e20| 20 2c 77 69 6e 64 6f 77 | 6e 61 6d 65 20 28 73 74 | ,window|name (st|
|00002e30| 72 69 6e 67 20 74 65 72 | 6d 69 6e 61 74 65 64 20 |ring ter|minated |
|00002e40| 62 79 20 30 29 0d 0a 20 | 4f 75 74 20 77 5c 5f 68 |by 0).. |Out w\_h|
|00002e50| 61 6e 64 6c 65 2e 77 2c | 20 61 70 5c 5f 69 64 2e |andle.w,| ap\_id.|
|00002e60| 77 2c 20 73 63 72 65 65 | 6e 78 6d 61 78 2e 77 20 |w, scree|nxmax.w |
|00002e70| 2c 73 63 72 65 65 6e 79 | 6d 61 78 2e 77 0d 0a 09 |,screeny|max.w...|
|00002e80| 28 64 65 73 74 72 6f 79 | 73 20 61 20 6c 6f 74 29 |(destroy|s a lot)|
|00002e90| 0d 0a 09 5c 5c 0d 0a 5c | 72 6f 75 74 0d 0a 09 40 |...\\..\|rout...@|
|00002ea0| 72 65 63 61 6c 63 77 69 | 6e 64 6f 77 0d 0a 09 20 |recalcwi|ndow... |
|00002eb0| 52 65 63 61 6c 63 75 6c | 61 74 65 73 20 74 68 65 |Recalcul|ates the|
|00002ec0| 20 77 69 6e 64 6f 77 20 | 73 69 7a 65 2e 0d 0a 09 | window |size....|
|00002ed0| 20 28 64 65 73 74 72 6f | 79 73 20 61 20 6c 6f 74 | (destro|ys a lot|
|00002ee0| 29 0d 0a 09 20 5c 5c 0d | 0a 5c 72 6f 75 74 69 6e |)... \\.|.\routin|
|00002ef0| 0d 0a 09 40 6d 6f 76 65 | 69 74 0d 0a 09 20 4d 6f |...@move|it... Mo|
|00002f00| 76 65 73 20 74 68 65 20 | 77 69 6e 64 6f 77 2e 20 |ves the |window. |
|00002f10| 4d 61 79 20 62 65 20 63 | 61 6c 6c 65 64 20 61 74 |May be c|alled at|
|00002f20| 20 65 76 65 72 79 20 76 | 6d 5c 5f 6d 6f 76 65 64 | every v|m\_moved|
|00002f30| 28 3d 32 38 29 20 65 76 | 65 6e 74 2e 0d 0a 20 49 |(=28) ev|ent... I|
|00002f40| 6e 09 20 61 30 2e 6c 3d | 61 64 72 20 74 6f 20 6d |n. a0.l=|adr to m|
|00002f50| 65 73 73 61 67 65 62 75 | 66 66 65 72 0d 0a 09 20 |essagebu|ffer... |
|00002f60| 28 64 65 73 74 72 6f 79 | 73 20 61 20 6c 6f 74 29 |(destroy|s a lot)|
|00002f70| 0d 0a 09 20 5c 5c 0d 0a | 5c 72 6f 75 74 69 6e 0d |... \\..|\routin.|
|00002f80| 0a 09 40 64 72 61 77 72 | 73 72 63 0d 0a 09 20 44 |..@drawr|src... D|
|00002f90| 72 61 77 73 20 74 68 65 | 20 72 73 72 63 2e 0d 0a |raws the| rsrc...|
|00002fa0| 09 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |. This f|unction |
|00002fb0| 64 6f 65 73 6e 27 74 20 | 63 61 72 65 20 61 62 6f |doesn't |care abo|
|00002fc0| 75 74 20 63 6c 69 70 70 | 69 6e 67 2c 20 73 6f 20 |ut clipp|ing, so |
|00002fd0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 70 72 6f 62 61 |you shou|ld proba|
|00002fe0| 62 6c 79 20 6e 6f 74 20 | 75 73 65 20 69 74 2e 0d |bly not |use it..|
|00002ff0| 0a 20 49 6e 09 20 61 30 | 2e 6c 3d 61 64 72 20 74 |. In. a0|.l=adr t|
|00003000| 6f 20 72 73 72 63 0d 0a | 09 20 28 64 65 73 74 72 |o rsrc..|. (destr|
|00003010| 6f 79 73 20 61 20 6c 6f | 74 29 0d 0a 09 20 5c 5c |oys a lo|t)... \\|
|00003020| 0d 0a 5c 72 6f 75 74 69 | 6e 0d 0a 09 40 75 70 64 |..\routi|n...@upd|
|00003030| 61 74 65 72 73 72 63 0d | 0a 09 20 44 72 61 77 73 |atersrc.|.. Draws|
|00003040| 20 74 68 65 20 72 73 72 | 63 2e 20 55 73 65 20 74 | the rsr|c. Use t|
|00003050| 68 69 73 20 77 68 65 6e | 20 72 65 63 65 69 76 69 |his when| receivi|
|00003060| 6e 67 20 75 70 64 61 74 | 65 20 65 76 65 6e 74 73 |ng updat|e events|
|00003070| 28 3d 32 30 29 2e 0d 0a | 09 20 54 68 69 73 20 66 |(=20)...|. This f|
|00003080| 75 6e 63 74 69 6f 6e 20 | 74 61 6b 65 73 20 63 61 |unction |takes ca|
|00003090| 72 65 20 6f 66 20 61 6c | 6c 20 63 6c 69 70 70 69 |re of al|l clippi|
|000030a0| 6e 67 2e 0d 0a 20 49 6e | 09 20 61 30 2e 6c 3d 61 |ng... In|. a0.l=a|
|000030b0| 64 72 20 74 6f 20 72 73 | 72 63 0d 0a 09 20 28 64 |dr to rs|rc... (d|
|000030c0| 65 73 74 72 6f 79 73 20 | 61 20 6c 6f 74 29 0d 0a |estroys |a lot)..|
|000030d0| 09 20 5c 5c 0d 0a 5c 72 | 6f 75 74 69 6e 0d 0a 09 |. \\..\r|outin...|
|000030e0| 40 74 6f 70 77 69 6e 64 | 6f 77 0d 0a 09 20 41 63 |@topwind|ow... Ac|
|000030f0| 74 69 76 61 74 65 73 20 | 74 68 65 20 77 69 6e 64 |tivates |the wind|
|00003100| 6f 77 2e 20 4d 61 79 20 | 62 65 20 63 61 6c 6c 65 |ow. May |be calle|
|00003110| 64 20 61 74 20 65 76 65 | 72 79 20 76 6d 5c 5f 74 |d at eve|ry vm\_t|
|00003120| 6f 70 70 65 64 28 3d 32 | 31 29 20 65 76 65 6e 74 |opped(=2|1) event|
|00003130| 2e 0d 0a 20 49 6e 09 20 | 61 30 2e 6c 3d 61 64 72 |... In. |a0.l=adr|
|00003140| 20 74 6f 20 6d 65 73 73 | 61 67 65 62 75 66 66 65 | to mess|agebuffe|
|00003150| 72 0d 0a 09 20 28 64 65 | 73 74 72 6f 79 73 20 61 |r... (de|stroys a|
|00003160| 20 6c 6f 74 29 0d 0a 09 | 20 5c 5c 0d 0a 5c 72 6f | lot)...| \\..\ro|
|00003170| 75 74 69 6e 0d 0a 09 40 | 62 6f 74 74 6f 6d 77 69 |utin...@|bottomwi|
|00003180| 6e 64 6f 77 0d 0a 09 20 | 42 6f 74 74 6f 6d 73 20 |ndow... |Bottoms |
|00003190| 74 68 65 20 77 69 6e 64 | 6f 77 20 69 66 20 20 69 |the wind|ow if i|
|000031a0| 74 27 73 20 20 20 6d 69 | 6e 65 2e 20 20 20 4d 61 |t's mi|ne. Ma|
|000031b0| 79 20 20 20 62 65 20 20 | 20 63 61 6c 6c 65 64 20 |y be | called |
|000031c0| 20 20 61 74 20 20 20 65 | 76 65 72 79 0d 0a 09 09 | at e|very....|
|000031d0| 76 6d 5c 5f 62 6f 74 74 | 6f 6d 65 64 28 3d 33 33 |vm\_bott|omed(=33|
|000031e0| 29 20 65 76 65 6e 74 2e | 20 0d 0a 20 49 6e 20 61 |) event.| .. In a|
|000031f0| 30 2e 6c 3d 61 64 72 20 | 74 6f 20 6d 65 73 73 61 |0.l=adr |to messa|
|00003200| 67 65 62 75 66 66 65 72 | 20 0d 0a 09 20 28 64 65 |gebuffer| ... (de|
|00003210| 73 74 72 6f 79 73 20 61 | 20 6c 6f 74 29 0d 0a 09 |stroys a| lot)...|
|00003220| 20 5c 5c 0d 0a 5c 72 6f | 75 74 69 6e 6f 75 74 0d | \\..\ro|utinout.|
|00003230| 0a 09 40 62 75 74 74 6f | 6e 0d 0a 09 20 52 65 74 |..@butto|n... Ret|
|00003240| 75 72 6e 73 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |urns the| object |
|00003250| 6e 75 6d 62 65 72 20 74 | 68 61 74 20 77 61 73 20 |number t|hat was |
|00003260| 63 6c 69 63 6b 65 64 20 | 6f 6e 2e 20 54 68 69 73 |clicked |on. This|
|00003270| 20 66 75 6e 63 74 69 6f | 6e 20 6d 61 79 20 62 65 | functio|n may be|
|00003280| 20 63 61 6c 6c 65 64 0d | 0a 09 20 61 74 20 65 76 | called.|.. at ev|
|00003290| 65 72 79 20 6d 6f 75 73 | 65 62 75 74 74 6f 6e 20 |ery mous|ebutton |
|000032a0| 65 76 65 6e 74 2e 0d 0a | 20 49 6e 09 20 61 30 2e |event...| In. a0.|
|000032b0| 6c 3d 61 64 72 2e 20 74 | 6f 20 72 73 72 63 0d 0a |l=adr. t|o rsrc..|
|000032c0| 09 20 28 49 74 20 61 75 | 74 6f 6d 61 74 69 63 61 |. (It au|tomatica|
|000032d0| 6c 6c 79 20 74 61 6b 65 | 73 20 74 68 65 20 78 20 |lly take|s the x |
|000032e0| 61 6e 64 20 79 20 63 6f | 6f 72 64 69 6e 61 74 65 |and y co|ordinate|
|000032f0| 73 20 66 72 6f 6d 20 69 | 6e 74 5c 5f 6f 75 74 29 |s from i|nt\_out)|
|00003300| 0d 0a 20 4f 75 74 09 20 | 64 30 2e 77 3d 6f 62 6a |.. Out. |d0.w=obj|
|00003310| 65 63 74 20 74 68 61 74 | 20 77 61 73 20 70 72 65 |ect that| was pre|
|00003320| 73 73 65 64 20 6f 72 20 | 2d 31 2e 0d 0a 09 20 28 |ssed or |-1.... (|
|00003330| 64 65 73 74 72 6f 79 73 | 20 61 20 6c 6f 74 29 0d |destroys| a lot).|
|00003340| 0a 09 20 5c 5c 0d 0a 5c | 72 6f 75 74 69 6e 6f 75 |.. \\..\|routinou|
|00003350| 74 0d 0a 09 40 6c 6f 61 | 64 72 73 72 63 0d 0a 09 |t...@loa|drsrc...|
|00003360| 20 4c 6f 61 64 73 20 61 | 20 72 65 73 6f 75 72 63 | Loads a| resourc|
|00003370| 65 20 66 69 6c 65 20 61 | 6e 64 20 63 72 65 61 74 |e file a|nd creat|
|00003380| 65 73 20 61 20 77 69 6e | 64 6f 77 20 63 6f 6e 74 |es a win|dow cont|
|00003390| 61 69 6e 67 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |aing the| object |
|000033a0| 69 6e 20 74 68 65 0d 0a | 09 20 66 69 6c 65 2e 20 |in the..|. file. |
|000033b0| 59 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |You don'|t have t|
|000033c0| 6f 20 63 61 6c 6c 20 40 | 63 72 65 61 74 65 77 69 |o call @|createwi|
|000033d0| 6e 64 6f 77 20 69 66 20 | 79 6f 75 20 75 73 65 20 |ndow if |you use |
|000033e0| 40 6c 6f 61 64 72 73 72 | 63 2e 0d 0a 20 49 6e 09 |@loadrsr|c... In.|
|000033f0| 20 77 74 79 70 65 20 65 | 71 75 20 5c 25 69 6e 66 | wtype e|qu \%inf|
|00003400| 6f 20 6d 6f 76 65 20 66 | 75 6c 6c 20 63 6c 6f 73 |o move f|ull clos|
|00003410| 65 20 6e 61 6d 65 5c 5c | 0d 0a 09 20 77 69 6e 64 |e name\\|... wind|
|00003420| 6f 77 6e 61 6d 65 20 28 | 73 74 72 69 6e 67 20 74 |owname (|string t|
|00003430| 65 72 6d 69 6e 61 74 65 | 64 20 62 79 20 30 29 5c |erminate|d by 0)\|
|00003440| 5c 0d 0a 20 09 20 61 30 | 2e 6c 3d 61 64 64 72 65 |\.. . a0|.l=addre|
|00003450| 73 73 20 74 6f 20 61 20 | 6e 75 6c 20 74 65 72 6d |ss to a |nul term|
|00003460| 69 6e 61 74 65 64 20 66 | 69 6c 65 6e 61 6d 65 0d |inated f|ilename.|
|00003470| 0a 20 4f 75 74 09 20 61 | 30 2e 6c 3d 61 64 64 72 |. Out. a|0.l=addr|
|00003480| 65 73 73 20 74 6f 20 74 | 68 65 20 72 65 73 6f 75 |ess to t|he resou|
|00003490| 72 63 65 20 64 61 74 61 | 5c 5c 0d 0a 77 5c 5f 68 |rce data|\\..w\_h|
|000034a0| 61 6e 64 6c 65 2e 77 2c | 20 61 70 5c 5f 69 64 2e |andle.w,| ap\_id.|
|000034b0| 77 2c 20 73 63 72 65 65 | 6e 78 6d 61 78 2e 77 2c |w, scree|nxmax.w,|
|000034c0| 20 73 63 72 65 65 6e 79 | 6d 61 78 2e 77 0d 0a 09 | screeny|max.w...|
|000034d0| 20 28 64 65 73 74 72 6f | 79 73 20 61 20 6c 6f 74 | (destro|ys a lot|
|000034e0| 29 0d 0a 0d 0a 0d 0a 5c | 66 69 6c 65 0d 0a 20 57 |)......\|file.. W|
|000034f0| 69 6e 65 76 65 6e 74 2e | 53 0d 0a 5c 72 6f 75 74 |inevent.|S..\rout|
|00003500| 69 6e 6f 75 74 65 78 0d | 0a 09 40 64 6f 77 69 6e |inoutex.|..@dowin|
|00003510| 64 6f 77 65 76 65 6e 74 | 73 0d 0a 09 20 46 6f 72 |dowevent|s... For|
|00003520| 20 74 68 65 20 6c 61 7a | 79 20 6f 6e 65 2e 20 54 | the laz|y one. T|
|00003530| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 77 61 69 |his func|tion wai|
|00003540| 74 73 20 66 6f 72 20 65 | 76 65 6e 74 73 20 61 6e |ts for e|vents an|
|00003550| 64 20 74 61 6b 65 73 20 | 63 61 72 65 20 6f 66 0d |d takes |care of.|
|00003560| 0a 09 20 65 76 65 72 79 | 74 68 69 6e 67 20 62 75 |.. every|thing bu|
|00003570| 74 20 74 68 65 20 63 6c | 6f 73 65 20 62 75 74 74 |t the cl|ose butt|
|00003580| 6f 6e 20 6f 72 20 69 66 | 20 73 6f 6d 65 6f 6e 65 |on or if| someone|
|00003590| 20 63 6c 69 63 6b 65 64 | 20 6f 6e 20 61 6e 20 6f | clicked| on an o|
|000035a0| 62 6a 65 63 74 2e 0d 0a | 09 20 49 66 20 6f 6e 65 |bject...|. If one|
|000035b0| 20 6f 66 20 74 68 65 73 | 65 20 65 76 65 6e 74 73 | of thes|e events|
|000035c0| 20 6f 63 63 75 72 20 74 | 68 65 20 70 72 6f 67 72 | occur t|he progr|
|000035d0| 61 6d 20 62 72 61 6e 63 | 68 65 73 20 74 6f 20 63 |am branc|hes to c|
|000035e0| 6c 6f 73 65 65 76 65 6e | 74 0d 0a 09 20 6f 72 20 |loseeven|t... or |
|000035f0| 62 75 74 74 6f 6e 65 76 | 65 6e 74 2e 20 54 68 6f |buttonev|ent. Tho|
|00003600| 73 65 20 73 75 62 72 6f | 75 74 69 6e 65 73 20 79 |se subro|utines y|
|00003610| 6f 75 20 68 61 76 65 20 | 74 6f 20 6d 61 6b 65 20 |ou have |to make |
|00003620| 79 6f 75 72 73 65 6c 66 | 2e 0d 0a 20 49 6e 09 20 |yourself|... In. |
|00003630| 61 30 2e 6c 3d 61 64 72 | 2e 20 74 6f 20 72 73 72 |a0.l=adr|. to rsr|
|00003640| 63 5c 5c 0d 0a 09 20 77 | 5c 5f 68 61 6e 64 6c 65 |c\\... w|\_handle|
|00003650| 2c 20 61 70 5c 5f 69 64 | 20 28 54 68 65 73 65 20 |, ap\_id| (These |
|00003660| 61 72 65 20 63 72 65 61 | 74 65 64 20 61 75 74 6f |are crea|ted auto|
|00003670| 6d 61 74 69 63 61 6c 6c | 79 20 69 66 20 79 6f 75 |maticall|y if you|
|00003680| 20 75 73 65 0d 0a 09 20 | 40 63 72 65 61 74 65 77 | use... |@createw|
|00003690| 69 6e 64 6f 77 20 6f 72 | 20 40 6c 6f 61 64 72 73 |indow or| @loadrs|
|000036a0| 72 63 29 0d 0a 4f 75 74 | 20 62 75 74 74 6f 6e 65 |rc)..Out| buttone|
|000036b0| 76 65 6e 74 3a 20 64 30 | 2e 77 3d 6e 75 6d 62 65 |vent: d0|.w=numbe|
|000036c0| 72 20 6f 66 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |r of the| object |
|000036d0| 70 72 65 73 73 65 64 20 | 5c 5c 0d 0a 63 6c 6f 73 |pressed |\\..clos|
|000036e0| 65 65 76 65 6e 74 3a 20 | 6e 6f 74 68 69 6e 67 20 |eevent: |nothing |
|000036f0| 28 64 65 73 74 72 6f 79 | 73 20 61 20 6c 6f 74 29 |(destroy|s a lot)|
|00003700| 0d 0a 20 65 78 2e 09 3b | 63 72 65 61 74 65 20 61 |.. ex..;|create a|
|00003710| 20 77 69 6e 64 6f 77 3b | 5c 5c 0d 0a 09 6d 6f 76 | window;|\\...mov|
|00003720| 65 2e 6c 20 72 73 72 63 | 61 64 72 2c 61 30 5c 5c |e.l rsrc|adr,a0\\|
|00003730| 0d 0a 09 62 72 61 20 40 | 64 6f 77 69 6e 64 6f 77 |...bra @|dowindow|
|00003740| 65 76 65 6e 74 73 09 3b | 20 69 74 20 77 69 6c 6c |events.;| it will|
|00003750| 20 6e 65 76 65 72 20 72 | 65 74 75 72 6e 20 73 6f | never r|eturn so|
|00003760| 20 79 6f 75 20 6d 61 79 | 20 75 73 65 20 27 62 72 | you may| use 'br|
|00003770| 61 27 20 6f 72 20 27 6a | 6d 70 27 5c 5c 0d 0a 5c |a' or 'j|mp'\\..\|
|00003780| 5c 0d 0a 20 62 75 74 74 | 6f 6e 65 76 65 6e 74 09 |\.. butt|onevent.|
|00003790| 09 3b 20 64 30 2e 77 20 | 77 69 6c 6c 20 63 6f 6e |.; d0.w |will con|
|000037a0| 74 61 69 6e 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |tain the| object |
|000037b0| 74 68 61 74 20 77 61 73 | 20 70 72 65 73 73 65 64 |that was| pressed|
|000037c0| 5c 5c 0d 0a 09 63 6d 70 | 20 5c 23 31 2c 64 30 20 |\\...cmp| \#1,d0 |
|000037d0| 09 3b 20 77 61 73 20 69 | 74 20 6d 79 20 62 75 74 |.; was i|t my but|
|000037e0| 74 6f 6e 3f 5c 5c 0d 0a | 20 09 62 65 71 20 6d 79 |ton?\\..| .beq my|
|000037f0| 62 75 74 74 6f 6e 09 3b | 20 79 65 73 21 5c 5c 0d |button.;| yes!\\.|
|00003800| 0a 09 72 74 73 09 09 3b | 20 6e 6f 21 5c 5c 0d 0a |..rts..;| no!\\..|
|00003810| 5c 5c 0d 0a 20 63 6c 6f | 73 65 65 76 65 6e 74 5c |\\.. clo|seevent\|
|00003820| 5c 0d 0a 09 62 73 72 20 | 40 65 78 69 74 77 69 6e |\...bsr |@exitwin|
|00003830| 64 6f 77 09 3b 20 63 6c | 6f 73 65 20 77 69 6e 64 |dow.; cl|ose wind|
|00003840| 6f 77 5c 5c 0d 0a 09 28 | 72 73 72 63 5c 5f 66 72 |ow\\...(|rsrc\_fr|
|00003850| 65 65 29 09 3b 20 6f 6e | 6c 79 20 69 66 20 79 6f |ee).; on|ly if yo|
|00003860| 75 20 68 61 76 65 20 75 | 73 65 64 20 40 6c 6f 61 |u have u|sed @loa|
|00003870| 64 72 73 72 63 5c 5c 0d | 0a 09 62 72 61 20 40 71 |drsrc\\.|..bra @q|
|00003880| 75 69 74 09 3b 20 71 75 | 69 74 0d 0a 9c 0d 0a 0d |uit.; qu|it......|
|00003890| 0a 0d 0a 0d 0a 5c 73 65 | 63 74 69 6f 6e 7b 48 69 |.....\se|ction{Hi|
|000038a0| 73 74 6f 72 79 7d 0d 0a | 0d 0a 5c 73 75 62 73 65 |story}..|..\subse|
|000038b0| 63 74 69 6f 6e 7b 56 65 | 72 73 69 6f 6e 20 35 7d |ction{Ve|rsion 5}|
|000038c0| 0d 0a 0d 0a 41 20 62 75 | 67 20 69 6e 20 74 68 65 |....A bu|g in the|
|000038d0| 20 46 56 20 72 6f 75 74 | 69 6e 65 73 20 68 61 73 | FV rout|ines has|
|000038e0| 20 62 65 65 6e 20 72 65 | 6d 6f 76 65 64 20 28 49 | been re|moved (I|
|000038f0| 20 68 61 64 20 6d 69 73 | 73 65 64 20 73 6f 6d 65 | had mis|sed some|
|00003900| 20 69 6d 70 6f 72 74 61 | 6e 74 0d 0a 72 65 67 69 | importa|nt..regi|
|00003910| 73 74 65 72 73 29 2e 20 | 59 6f 75 20 63 61 6e 6e |sters). |You cann|
|00003920| 6f 74 20 75 73 65 20 6f | 6c 64 20 46 56 20 66 69 |ot use o|ld FV fi|
|00003930| 6c 65 73 20 77 69 74 68 | 20 74 68 65 20 6e 65 77 |les with| the new|
|00003940| 20 72 6f 75 74 69 6e 65 | 73 21 20 41 20 46 56 20 | routine|s! A FV |
|00003950| 65 64 69 74 6f 72 20 69 | 73 0d 0a 6e 6f 77 20 73 |editor i|s..now s|
|00003960| 75 70 70 6c 69 65 64 20 | 74 6f 20 74 65 73 74 20 |upplied |to test |
|00003970| 6f 72 20 65 64 69 74 20 | 46 56 20 66 69 6c 65 73 |or edit |FV files|
|00003980| 20 61 6e 64 20 74 68 65 | 72 65 20 69 73 20 61 6c | and the|re is al|
|00003990| 73 6f 20 73 6f 6d 65 20 | 64 6f 63 75 6d 65 6e 74 |so some |document|
|000039a0| 61 74 69 6f 6e 0d 0a 64 | 65 73 63 72 69 62 69 6e |ation..d|escribin|
|000039b0| 67 20 74 68 65 20 46 56 | 20 66 69 6c 65 20 66 6f |g the FV| file fo|
|000039c0| 72 6d 61 74 2e 20 54 68 | 65 72 65 20 68 61 73 20 |rmat. Th|ere has |
|000039d0| 61 6c 73 6f 20 62 65 65 | 6e 20 73 6f 6d 65 20 63 |also bee|n some c|
|000039e0| 6f 72 72 65 63 74 69 6f | 6e 73 20 69 6e 20 74 68 |orrectio|ns in th|
|000039f0| 65 0d 0a 6d 61 69 6e 20 | 6d 61 6e 75 61 6c 20 28 |e..main |manual (|
|00003a00| 74 68 65 20 6f 6e 65 20 | 79 6f 75 20 61 72 65 20 |the one |you are |
|00003a10| 72 65 61 64 69 6e 67 20 | 6e 6f 77 29 20 61 6e 64 |reading |now) and|
|00003a20| 20 61 20 70 6f 73 74 73 | 63 72 69 70 74 20 76 65 | a posts|cript ve|
|00003a30| 72 73 69 6f 6e 20 68 61 | 73 20 62 65 65 6e 0d 0a |rsion ha|s been..|
|00003a40| 61 64 64 65 64 2e 0d 0a | 0d 0a 5c 73 75 62 73 65 |added...|..\subse|
|00003a50| 63 74 69 6f 6e 7b 56 65 | 72 73 69 6f 6e 20 34 7d |ction{Ve|rsion 4}|
|00003a60| 0d 0a 0d 0a 54 68 69 73 | 20 5c 4c 61 54 65 58 5c |....This| \LaTeX\|
|00003a70| 20 64 6f 63 75 6d 65 6e | 74 20 69 73 20 6e 6f 77 | documen|t is now|
|00003a80| 20 69 6e 63 6c 75 64 65 | 64 2e 20 0d 0a 54 72 75 | include|d. ..Tru|
|00003a90| 65 20 63 6f 6c 6f 75 72 | 20 66 61 64 65 20 72 6f |e colour| fade ro|
|00003aa0| 75 74 20 6f 70 74 69 6d | 69 73 65 64 20 28 61 62 |ut optim|ised (ab|
|00003ab0| 6f 75 74 20 32 30 5c 25 | 20 66 61 73 74 65 72 29 |out 20\%| faster)|
|00003ac0| 20 61 6e 64 0d 0a 61 20 | 6e 65 77 20 74 77 6f 20 | and..a |new two |
|00003ad0| 70 69 78 65 6c 73 20 61 | 74 20 6f 6e 63 65 20 66 |pixels a|t once f|
|00003ae0| 61 64 65 72 20 74 68 61 | 74 20 69 73 20 73 6c 69 |ader tha|t is sli|
|00003af0| 67 68 74 6c 79 20 66 61 | 73 74 65 72 20 0d 0a 69 |ghtly fa|ster ..i|
|00003b00| 73 20 61 64 64 65 64 2e | 0d 0a 41 20 70 72 6f 67 |s added.|..A prog|
|00003b10| 72 61 6d 20 66 72 61 6d | 65 20 61 64 64 65 64 20 |ram fram|e added |
|00003b20| 74 68 61 74 20 6d 61 79 | 20 62 65 20 75 73 65 64 |that may| be used|
|00003b30| 20 61 73 20 61 20 73 74 | 61 72 74 20 66 6f 72 0d | as a st|art for.|
|00003b40| 0a 6e 65 77 20 70 72 6f | 67 72 61 6d 73 20 28 7b |.new pro|grams ({|
|00003b50| 5c 73 63 20 46 72 61 6d | 65 7d 29 2e 0d 0a 7b 5c |\sc Fram|e})...{\|
|00003b60| 62 66 20 40 63 6f 6c 6f | 75 72 7d 20 69 6e 20 7b |bf @colo|ur} in {|
|00003b70| 5c 73 63 20 54 69 6d 65 | 72 7d 20 69 73 20 63 68 |\sc Time|r} is ch|
|00003b80| 61 6e 67 65 64 2e 0d 0a | 7b 5c 62 66 20 40 70 72 |anged...|{\bf @pr|
|00003b90| 69 6e 74 7d 20 69 73 20 | 6e 6f 77 20 61 76 61 69 |int} is |now avai|
|00003ba0| 6c 61 62 6c 65 20 69 6e | 20 7b 5c 73 63 20 53 68 |lable in| {\sc Sh|
|00003bb0| 72 74 6f 6e 65 73 7d 2e | 0d 0a 0d 0a 5c 73 75 62 |rtones}.|....\sub|
|00003bc0| 73 65 63 74 69 6f 6e 7b | 56 65 72 73 69 6f 6e 20 |section{|Version |
|00003bd0| 33 7d 0d 0a 09 09 09 0d | 0a 54 72 75 65 20 63 6f |3}......|.True co|
|00003be0| 6c 6f 75 72 20 66 61 64 | 65 20 72 6f 75 74 69 6e |lour fad|e routin|
|00003bf0| 65 20 61 64 64 65 64 20 | 28 66 6f 75 6e 64 20 69 |e added |(found i|
|00003c00| 6e 20 74 68 65 20 6a 61 | 67 64 65 6d 6f 29 2e 0d |n the ja|gdemo)..|
|00003c10| 0a 0d 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 56 |...\subs|ection{V|
|00003c20| 65 72 73 69 6f 6e 20 32 | 7d 0d 0a 09 09 09 0d 0a |ersion 2|}.......|
|00003c30| 54 68 69 73 20 6f 6e 65 | 20 68 61 73 20 67 6f 74 |This one| has got|
|00003c40| 20 61 20 66 69 6c 65 20 | 74 68 61 74 20 69 73 20 | a file |that is |
|00003c50| 6e 65 63 65 73 73 61 72 | 79 20 74 6f 20 75 73 65 |necessar|y to use|
|00003c60| 20 7b 5c 73 63 20 44 73 | 70 6d 6f 64 7d 20 61 6e | {\sc Ds|pmod} an|
|00003c70| 64 20 61 20 66 69 6c 65 | 0d 0a 74 68 61 74 20 69 |d a file|..that i|
|00003c80| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 75 |s necess|ary to u|
|00003c90| 73 65 20 7b 5c 73 63 20 | 54 72 69 67 7d 20 69 6e |se {\sc |Trig} in|
|00003ca0| 63 6c 75 64 65 64 2c 20 | 75 6e 66 6f 72 74 75 6e |cluded, |unfortun|
|00003cb0| 61 74 65 6c 79 20 49 20 | 66 6f 72 67 6f 74 0d 0a |ately I |forgot..|
|00003cc0| 74 68 65 6d 20 69 6e 20 | 76 31 2e 20 41 20 6e 65 |them in |v1. A ne|
|00003cd0| 77 20 66 75 6e 63 74 69 | 6f 6e 20 69 6e 20 7b 5c |w functi|on in {\|
|00003ce0| 73 63 20 57 69 6e 64 6f | 77 7d 2c 20 7b 5c 62 66 |sc Windo|w}, {\bf|
|00003cf0| 20 40 6c 6f 61 64 72 73 | 72 63 7d 20 6c 6f 61 64 | @loadrs|rc} load|
|00003d00| 73 20 61 20 72 65 73 6f | 75 72 63 65 20 66 69 6c |s a reso|urce fil|
|00003d10| 65 0d 0a 61 6e 64 20 63 | 72 65 61 74 65 73 20 61 |e..and c|reates a|
|00003d20| 20 77 69 6e 64 6f 77 20 | 77 69 74 68 20 74 68 65 | window |with the|
|00003d30| 20 6c 6f 61 64 65 64 20 | 6f 62 6a 65 63 74 20 69 | loaded |object i|
|00003d40| 6e 20 69 74 2e 0d 0a 0d | 0a 5c 73 75 62 73 65 63 |n it....|.\subsec|
|00003d50| 74 69 6f 6e 7b 56 65 72 | 73 69 6f 6e 20 31 7d 0d |tion{Ver|sion 1}.|
|00003d60| 0a 09 09 09 0d 0a 54 68 | 65 20 66 69 72 73 74 20 |......Th|e first |
|00003d70| 6f 6e 65 2e 20 4c 6f 74 | 73 20 6f 66 20 66 69 6c |one. Lot|s of fil|
|00003d80| 65 73 20 6d 69 73 73 69 | 6e 67 2e 0d 0a 0d 0a 0d |es missi|ng......|
|00003d90| 0a 5c 73 65 63 74 69 6f | 6e 7b 43 72 65 64 69 74 |.\sectio|n{Credit|
|00003da0| 73 7d 0d 0a 0d 0a 5c 66 | 69 6c 65 20 44 73 70 6d |s}....\f|ile Dspm|
|00003db0| 6f 64 2e 53 0d 0a 44 53 | 50 20 4d 4f 44 20 72 65 |od.S..DS|P MOD re|
|00003dc0| 70 6c 61 79 20 72 6f 75 | 74 69 6e 65 20 77 72 69 |play rou|tine wri|
|00003dd0| 74 74 65 6e 20 62 79 20 | 62 49 54 6d 41 53 54 45 |tten by |bITmASTE|
|00003de0| 52 20 6f 66 20 42 53 57 | 2e 0d 0a 41 64 64 69 74 |R of BSW|...Addit|
|00003df0| 69 6f 6e 61 6c 20 63 6f | 64 65 20 62 79 20 44 75 |ional co|de by Du|
|00003e00| 73 61 6e 2e 0d 0a 0d 0a | 5c 66 69 6c 65 20 47 6f |san.....|\file Go|
|00003e10| 72 61 75 64 2e 53 0d 0a | 46 61 73 74 20 47 6f 75 |raud.S..|Fast Gou|
|00003e20| 72 61 75 64 20 73 68 61 | 64 69 6e 67 20 70 6f 6c |raud sha|ding pol|
|00003e30| 79 67 6f 6e 20 72 6f 75 | 74 69 6e 65 73 2c 20 4a |ygon rou|tines, J|
|00003e40| 75 6c 79 20 31 39 39 33 | 20 62 79 20 47 72 69 66 |uly 1993| by Grif|
|00003e50| 66 2e 0d 0a 09 0d 0a 5c | 66 69 6c 65 20 43 61 63 |f......\|file Cac|
|00003e60| 68 65 2e 53 0d 0a 43 61 | 63 68 65 20 65 71 75 61 |he.S..Ca|che equa|
|00003e70| 74 65 73 20 62 79 20 47 | 72 69 66 66 2e 0d 0a 09 |tes by G|riff....|
|00003e80| 0d 0a 5c 66 69 6c 65 20 | 46 61 64 65 2e 53 0d 0a |..\file |Fade.S..|
|00003e90| 46 61 64 65 69 74 20 2d | 20 74 72 75 65 20 63 6f |Fadeit -| true co|
|00003ea0| 6c 6f 75 72 20 76 65 72 | 73 68 2c 20 63 6f 64 65 |lour ver|sh, code|
|00003eb0| 64 20 62 79 20 3c 47 65 | 6e 69 65 21 3e 20 6f 66 |d by <Ge|nie!> of|
|00003ec0| 20 4e 65 74 77 6f 72 6b | 20 54 72 61 73 68 2e 0d | Network| Trash..|
|00003ed0| 0a 0d 0a 5c 73 65 63 74 | 69 6f 6e 20 7b 41 64 64 |...\sect|ion {Add|
|00003ee0| 72 65 73 73 7d 0d 0a 0d | 0a 4d 6f 73 74 20 6f 66 |ress}...|.Most of|
|00003ef0| 20 74 68 65 20 6f 74 68 | 65 72 20 73 74 75 66 66 | the oth|er stuff|
|00003f00| 20 61 6e 64 20 70 75 74 | 74 69 6e 67 20 65 76 65 | and put|ting eve|
|00003f10| 72 79 74 68 69 6e 67 20 | 74 6f 67 65 74 68 65 72 |rything |together|
|00003f20| 20 77 61 73 0d 0a 6d 61 | 64 65 20 62 79 20 4a 6f | was..ma|de by Jo|
|00003f30| 68 61 6e 20 4b 61 72 6c | 73 73 6f 6e 2e 20 41 6e |han Karl|sson. An|
|00003f40| 79 20 63 6f 6e 74 72 69 | 62 75 74 69 6f 6e 73 20 |y contri|butions |
|00003f50| 61 72 65 20 76 65 72 79 | 20 77 65 6c 63 6f 6d 65 |are very| welcome|
|00003f60| 2c 20 6d 79 20 61 64 64 | 72 65 73 73 0d 0a 69 73 |, my add|ress..is|
|00003f70| 3a 0d 0a 0d 0a 5c 62 65 | 67 69 6e 7b 63 65 6e 74 |:....\be|gin{cent|
|00003f80| 65 72 7d 0d 0a 65 6d 61 | 69 6c 3a 20 64 39 32 6a |er}..ema|il: d92j|
|00003f90| 6b 40 65 66 64 2e 6c 74 | 68 2e 73 65 0d 0a 5c 65 |k@efd.lt|h.se..\e|
|00003fa0| 6e 64 7b 63 65 6e 74 65 | 72 7d 0d 0a 0d 0a 5c 62 |nd{cente|r}....\b|
|00003fb0| 65 67 69 6e 7b 63 65 6e | 74 65 72 7d 0d 0a 53 6e |egin{cen|ter}..Sn|
|00003fc0| 61 69 6c 4d 61 69 6c 3a | 5c 5c 0d 0a 4d 61 67 69 |ailMail:|\\..Magi|
|00003fd0| 73 74 72 61 74 73 76 2e | 20 35 35 20 58 31 31 32 |stratsv.| 55 X112|
|00003fe0| 5c 5c 0d 0a 32 32 36 20 | 34 34 20 4c 75 6e 64 5c |\\..226 |44 Lund\|
|00003ff0| 5c 0d 0a 53 57 45 44 45 | 4e 0d 0a 5c 65 6e 64 7b |\..SWEDE|N..\end{|
|00004000| 63 65 6e 74 65 72 7d 0d | 0a 0d 0a 5c 62 65 67 69 |center}.|...\begi|
|00004010| 6e 7b 63 65 6e 74 65 72 | 7d 0d 0a 54 65 6c 65 70 |n{center|}..Telep|
|00004020| 68 6f 6e 65 3a 20 28 30 | 29 34 36 20 33 39 32 30 |hone: (0|)46 3920|
|00004030| 31 37 0d 0a 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d |17..\end|{center}|
|00004040| 0d 0a 0d 0a 0d 0a 0d 0a | 0d 0a 0d 0a 5c 65 6e 64 |........|....\end|
|00004050| 7b 64 6f 63 75 6d 65 6e | 74 7d 0d 0a |{documen|t}.. |
+--------+-------------------------+-------------------------+--------+--------+